Przeglądaj źródła

stupid bug (in syntax print "hello")

Roberto Ierusalimschy 27 lat temu
rodzic
commit
da94130160
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      lparser.c

+ 2 - 1
lparser.c

@@ -1,5 +1,5 @@
 /*
-** $Id: $
+** $Id: lparser.c,v 1.1 1998/05/27 13:08:34 roberto Exp roberto $
 ** LL(1) Parser and code generator for Lua
 ** See Copyright Notice in lua.h
 */
@@ -1075,6 +1075,7 @@ static int funcparams (LexState *ls, int slf) {
       break;
 
     case STRING:  /* funcparams -> STRING */
+      code_string(ls, ls->seminfo.ts);
       next(ls);
       break;