commit bcc4089a7d49e06b115363a7a9ea3b07a85f2b71
parent cf5d1bdd761d5f9c7be45dd193094b52a2723f00
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 27 Apr 2005 15:53:31 -0300
comment
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lparser.c b/lparser.c
@@ -1,5 +1,5 @@
/*
-** $Id: lparser.c,v 2.19 2005/03/16 16:59:21 roberto Exp roberto $
+** $Id: lparser.c,v 2.20 2005/04/07 13:09:07 roberto Exp roberto $
** Lua Parser
** See Copyright Notice in lua.h
*/
@@ -738,8 +738,8 @@ static void primaryexp (LexState *ls, expdesc *v) {
static void simpleexp (LexState *ls, expdesc *v) {
- /* simpleexp -> NUMBER | STRING | NIL | constructor | FUNCTION body
- | primaryexp */
+ /* simpleexp -> NUMBER | STRING | NIL | true | false | ... |
+ constructor | FUNCTION body | primaryexp */
switch (ls->t.token) {
case TK_NUMBER: {
init_exp(v, VK, luaK_numberK(ls->fs, ls->t.seminfo.r));