diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-13 17:08:37 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-13 17:08:37 -0200 |
| commit | e03767b3eb45059ef9a367161154bec407d78f35 (patch) | |
| tree | 5ebfd6e7536794dd1c5b1bc5edbbf5408f518843 /lobject.c | |
| parent | 8396027516c861c536e6604c7156cdf57e1dbc0d (diff) | |
| download | lua-e03767b3eb45059ef9a367161154bec407d78f35.tar.gz lua-e03767b3eb45059ef9a367161154bec407d78f35.tar.bz2 lua-e03767b3eb45059ef9a367161154bec407d78f35.zip | |
details (comments)
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))) |
