From ce5387268482aa5f214c3719084f1edab5188314 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 28 Dec 1997 20:48:15 -0200 Subject: new syntax: f´s´ for f(´s´). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua.stx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua.stx b/lua.stx index ad9dd1d6..7149b5e8 100644 --- a/lua.stx +++ b/lua.stx @@ -1,6 +1,6 @@ %{ /* -** $Id: lua.stx,v 1.26 1997/12/23 19:24:19 roberto Exp roberto $ +** $Id: lua.stx,v 1.27 1997/12/26 18:38:16 roberto Exp roberto $ ** Syntax analizer and code generator ** See Copyright Notice in lua.h */ @@ -828,6 +828,7 @@ funcvalue : varexp { $$ = 0; } funcParams : '(' exprlist ')' { $$ = adjust_functioncall($2, 1); } | table { $$ = 1; } + | STRING { code_string($1); $$ = 1; } ; exprlist : /* empty */ { $$ = 0; } -- cgit v1.2.3-55-g6feb