aboutsummaryrefslogtreecommitdiff
path: root/lua.stx
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-28 20:48:15 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-28 20:48:15 -0200
commitce5387268482aa5f214c3719084f1edab5188314 (patch)
tree6a3d880c1ca06015d3cb6495f4d0ecc0b1912427 /lua.stx
parentda96eb2cceb9a4b89ee3d08747d3306d166f9c87 (diff)
downloadlua-ce5387268482aa5f214c3719084f1edab5188314.tar.gz
lua-ce5387268482aa5f214c3719084f1edab5188314.tar.bz2
lua-ce5387268482aa5f214c3719084f1edab5188314.zip
new syntax: f´s´ for f(´s´).
Diffstat (limited to 'lua.stx')
-rw-r--r--lua.stx3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua.stx b/lua.stx
index ad9dd1d6..7149b5e8 100644
--- a/lua.stx
+++ b/lua.stx
@@ -1,6 +1,6 @@
1%{ 1%{
2/* 2/*
3** $Id: lua.stx,v 1.26 1997/12/23 19:24:19 roberto Exp roberto $ 3** $Id: lua.stx,v 1.27 1997/12/26 18:38:16 roberto Exp roberto $
4** Syntax analizer and code generator 4** Syntax analizer and code generator
5** See Copyright Notice in lua.h 5** See Copyright Notice in lua.h
6*/ 6*/
@@ -828,6 +828,7 @@ funcvalue : varexp { $$ = 0; }
828 828
829funcParams : '(' exprlist ')' { $$ = adjust_functioncall($2, 1); } 829funcParams : '(' exprlist ')' { $$ = adjust_functioncall($2, 1); }
830 | table { $$ = 1; } 830 | table { $$ = 1; }
831 | STRING { code_string($1); $$ = 1; }
831 ; 832 ;
832 833
833exprlist : /* empty */ { $$ = 0; } 834exprlist : /* empty */ { $$ = 0; }