details (comments)

This commit is contained in:
Roberto Ierusalimschy
1999-01-13 17:08:37 -02:00
parent 8396027516
commit e03767b3eb
2 changed files with 6 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.c,v 1.14 1998/12/27 20:25:20 roberto Exp roberto $
** $Id: lobject.c,v 1.15 1999/01/04 13:37:07 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@@ -90,7 +90,7 @@ static double expten (unsigned int e) {
}
double luaO_str2d (char *s) {
double luaO_str2d (char *s) { /* LUA_NUMBER */
double a = 0.0;
int point = 0;
if (!isdigit((unsigned char)*s) && !isdigit((unsigned char)*(s+1)))