diff options
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)); |