Explorar o código

small syntax error (yacc does not complain, but bison does).

Roberto Ierusalimschy %!s(int64=29) %!d(string=hai) anos
pai
achega
0b110f7922
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lua.stx

+ 2 - 2
lua.stx

@@ -1,6 +1,6 @@
 %{
 
-char *rcs_luastx = "$Id: lua.stx,v 3.42 1997/01/15 16:11:37 roberto Exp roberto $";
+char *rcs_luastx = "$Id: lua.stx,v 3.43 1997/01/31 14:27:11 roberto Exp roberto $";
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -459,7 +459,7 @@ void lua_parse (TFunc *tf)
 
 %% /* beginning of rules section */
 
-chunk	: chunklist ret
+chunk	: chunklist ret ;
 
 chunklist : /* empty */
 	  | chunklist stat sc