aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index 00b14921..56a0ee5a 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.115 2001/06/08 16:48:32 roberto Exp roberto $ 2** $Id: liolib.c,v 1.116 2001/06/22 13:49:42 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -263,7 +263,7 @@ static int read_until (lua_State *L, FILE *f, const l_char *p, int pl) {
263 263
264static int read_number (lua_State *L, FILE *f) { 264static int read_number (lua_State *L, FILE *f) {
265 double d; 265 double d;
266 if (fscanf(f, l_s("%lf"), &d) == 1) { 266 if (fscanf(f, l_s(LUA_SCAN_NUMBER), &d) == 1) {
267 lua_pushnumber(L, d); 267 lua_pushnumber(L, d);
268 return 1; 268 return 1;
269 } 269 }