aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-01-13 17:08:37 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-01-13 17:08:37 -0200
commite03767b3eb45059ef9a367161154bec407d78f35 (patch)
tree5ebfd6e7536794dd1c5b1bc5edbbf5408f518843 /lobject.c
parent8396027516c861c536e6604c7156cdf57e1dbc0d (diff)
downloadlua-e03767b3eb45059ef9a367161154bec407d78f35.tar.gz
lua-e03767b3eb45059ef9a367161154bec407d78f35.tar.bz2
lua-e03767b3eb45059ef9a367161154bec407d78f35.zip
details (comments)
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index 0462fc8b..b68f7e98 100644
--- a/lobject.c
+++ b/lobject.c
@@ -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
93double luaO_str2d (char *s) { 93double 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)))