From bf6d2ccf92768be938aaac0a0bfc87833b793e8f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Fri, 12 Feb 1999 17:23:02 -0200 Subject: details --- lobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lobject.c') diff --git a/lobject.c b/lobject.c index b68f7e98..45682c50 100644 --- a/lobject.c +++ b/lobject.c @@ -1,5 +1,5 @@ /* -** $Id: lobject.c,v 1.15 1999/01/04 13:37:07 roberto Exp roberto $ +** $Id: lobject.c,v 1.16 1999/01/13 19:08:37 roberto Exp roberto $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ @@ -112,7 +112,7 @@ double luaO_str2d (char *s) { /* LUA_NUMBER */ s++; sig = -1; } - if (!isdigit((unsigned char)*s)) return -1; /* no digit in expoent part? */ + if (!isdigit((unsigned char)*s)) return -1; /* no digit in the exponent? */ do { e = 10*e + (*(s++)-'0'); } while (isdigit((unsigned char)*s)); -- cgit v1.2.3-55-g6feb