diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-28 20:48:15 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-28 20:48:15 -0200 |
commit | ce5387268482aa5f214c3719084f1edab5188314 (patch) | |
tree | 6a3d880c1ca06015d3cb6495f4d0ecc0b1912427 /lua.stx | |
parent | da96eb2cceb9a4b89ee3d08747d3306d166f9c87 (diff) | |
download | lua-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.stx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 | ||
829 | funcParams : '(' exprlist ')' { $$ = adjust_functioncall($2, 1); } | 829 | funcParams : '(' exprlist ')' { $$ = adjust_functioncall($2, 1); } |
830 | | table { $$ = 1; } | 830 | | table { $$ = 1; } |
831 | | STRING { code_string($1); $$ = 1; } | ||
831 | ; | 832 | ; |
832 | 833 | ||
833 | exprlist : /* empty */ { $$ = 0; } | 834 | exprlist : /* empty */ { $$ = 0; } |