Moving %start directive to bottom of prologue.
This commit is contained in:
parent
b5d524c295
commit
be3de046c3
|
@ -38,13 +38,13 @@ extern int yylex();
|
||||||
%nonassoc LOWER_THAN_ELSE
|
%nonassoc LOWER_THAN_ELSE
|
||||||
%nonassoc BRANCH_ELSE
|
%nonassoc BRANCH_ELSE
|
||||||
|
|
||||||
%start program
|
|
||||||
|
|
||||||
%type<intval> NUMBER;
|
%type<intval> NUMBER;
|
||||||
%type<floatval> FLOAT;
|
%type<floatval> FLOAT;
|
||||||
%type<strval> ID;
|
%type<strval> ID;
|
||||||
%type<typeval> TYPENAME;
|
%type<typeval> TYPENAME;
|
||||||
|
|
||||||
|
%start program
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
program:
|
program:
|
||||||
|
|
Reference in New Issue
Block a user