Browse Source

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

Roberto Ierusalimschy 28 years ago
parent
commit
0b110f7922
1 changed files with 2 additions and 2 deletions
  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