Program can be empty.

This commit is contained in:
Stefano Sanfilippo 2014-11-23 22:43:42 +01:00
parent 403a957b08
commit a8521e324d

View File

@ -43,7 +43,7 @@ extern void emit(const char *, ...);
%%
program:
fun_decls main fun_decls
fun_decls main fun_decls | /* epsilon */
;
fun_decls:
/* epsilon */ | fun_decls fun_decl