aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-30 10:40:29 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-30 10:40:29 -0200
commit0652906e7a6be897d67c5246c7897d1d10b683ff (patch)
tree2039d2809901726a1f2d806913b05574b573c424 /llex.c
parent4d1b815b60b884b60e7e3cdb62f5f8ccf4b2a6d3 (diff)
downloadlua-0652906e7a6be897d67c5246c7897d1d10b683ff.tar.gz
lua-0652906e7a6be897d67c5246c7897d1d10b683ff.tar.bz2
lua-0652906e7a6be897d67c5246c7897d1d10b683ff.zip
details.
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index a7ff94bf..49f22860 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 1.46 1999/12/14 18:31:20 roberto Exp roberto $ 2** $Id: llex.c,v 1.47 1999/12/22 16:58:36 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -402,7 +402,7 @@ int luaX_lex (LexState *LS) {
402 if (toupper(LS->current) == 'E') { 402 if (toupper(LS->current) == 'E') {
403 save_and_next(L, LS); /* read 'E' */ 403 save_and_next(L, LS); /* read 'E' */
404 if (LS->current == '+' || LS->current == '-') 404 if (LS->current == '+' || LS->current == '-')
405 save_and_next(L, LS); /* optional exponent signal */ 405 save_and_next(L, LS); /* optional exponent sign */
406 while (isdigit(LS->current)) 406 while (isdigit(LS->current))
407 save_and_next(L, LS); 407 save_and_next(L, LS);
408 } 408 }