diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-27 15:53:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-27 15:53:53 -0300 |
commit | bcc4089a7d49e06b115363a7a9ea3b07a85f2b71 (patch) | |
tree | adcfcbd3a4fd82e48691ad02505848fa8737eb7b /lparser.c | |
parent | cf5d1bdd761d5f9c7be45dd193094b52a2723f00 (diff) | |
download | lua-bcc4089a7d49e06b115363a7a9ea3b07a85f2b71.tar.gz lua-bcc4089a7d49e06b115363a7a9ea3b07a85f2b71.tar.bz2 lua-bcc4089a7d49e06b115363a7a9ea3b07a85f2b71.zip |
comment
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.19 2005/03/16 16:59:21 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.20 2005/04/07 13:09:07 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -738,8 +738,8 @@ static void primaryexp (LexState *ls, expdesc *v) { | |||
738 | 738 | ||
739 | 739 | ||
740 | static void simpleexp (LexState *ls, expdesc *v) { | 740 | static void simpleexp (LexState *ls, expdesc *v) { |
741 | /* simpleexp -> NUMBER | STRING | NIL | constructor | FUNCTION body | 741 | /* simpleexp -> NUMBER | STRING | NIL | true | false | ... | |
742 | | primaryexp */ | 742 | constructor | FUNCTION body | primaryexp */ |
743 | switch (ls->t.token) { | 743 | switch (ls->t.token) { |
744 | case TK_NUMBER: { | 744 | case TK_NUMBER: { |
745 | init_exp(v, VK, luaK_numberK(ls->fs, ls->t.seminfo.r)); | 745 | init_exp(v, VK, luaK_numberK(ls->fs, ls->t.seminfo.r)); |