diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 1.14 1998/12/27 20:25:20 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.15 1999/01/04 13:37:07 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -90,7 +90,7 @@ static double expten (unsigned int e) { | |||
90 | } | 90 | } |
91 | 91 | ||
92 | 92 | ||
93 | double luaO_str2d (char *s) { | 93 | double luaO_str2d (char *s) { /* LUA_NUMBER */ |
94 | double a = 0.0; | 94 | double a = 0.0; |
95 | int point = 0; | 95 | int point = 0; |
96 | if (!isdigit((unsigned char)*s) && !isdigit((unsigned char)*(s+1))) | 96 | if (!isdigit((unsigned char)*s) && !isdigit((unsigned char)*(s+1))) |