Explorar el Código

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

Roberto Ierusalimschy hace 29 años
padre
commit
0b110f7922
Se han modificado 1 ficheros con 2 adiciones y 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