aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-27 15:53:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-27 15:53:53 -0300
commitbcc4089a7d49e06b115363a7a9ea3b07a85f2b71 (patch)
treeadcfcbd3a4fd82e48691ad02505848fa8737eb7b /lparser.c
parentcf5d1bdd761d5f9c7be45dd193094b52a2723f00 (diff)
downloadlua-bcc4089a7d49e06b115363a7a9ea3b07a85f2b71.tar.gz
lua-bcc4089a7d49e06b115363a7a9ea3b07a85f2b71.tar.bz2
lua-bcc4089a7d49e06b115363a7a9ea3b07a85f2b71.zip
comment
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lparser.c b/lparser.c
index 6db1bf1a..a2dd5db7 100644
--- a/lparser.c
+++ b/lparser.c
@@ -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
740static void simpleexp (LexState *ls, expdesc *v) { 740static 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));