Program can be empty.
This commit is contained in:
parent
403a957b08
commit
a8521e324d
|
@ -43,7 +43,7 @@ extern void emit(const char *, ...);
|
||||||
%%
|
%%
|
||||||
|
|
||||||
program:
|
program:
|
||||||
fun_decls main fun_decls
|
fun_decls main fun_decls | /* epsilon */
|
||||||
;
|
;
|
||||||
fun_decls:
|
fun_decls:
|
||||||
/* epsilon */ | fun_decls fun_decl
|
/* epsilon */ | fun_decls fun_decl
|
||||||
|
|
Reference in New Issue
Block a user