Hello,
I am facing some terrible problem during bootstap bison from current GIT
snapshot (main branch). I am getting the following error:
configure:12166: error: possibly undefined macro: AM_LANGINFO_CODESET
configure:12236: error: possibly undefined macro: gl_GLIBC21
errors are coming from "aut
Using your grammar :
%token NEG FUNCALL SEMICOLON ID MINUS LPAREN RPAREN
%left NEG
%left FUNCALL
%%
input:
| input exp SEMICOLON
;
exp:
ID
| MINUS exp %prec NEG
| exp LPAREN exp RPAREN %prec FUNCALL
;
%%
bison (2.4.1) complains
exp:
4| MINUS exp
...
state 6
4 exp: MINUS exp .
2009/1/25 Luca :
> Using your grammar :
>
> %token NEG FUNCALL SEMICOLON ID MINUS LPAREN RPAREN
>
> %left NEG
> %left FUNCALL
>
> %%
>
> input:
> | input exp SEMICOLON
> ;
>
> exp:
> ID
> | MINUS exp %prec NEG
> | exp LPAREN exp RPAREN %prec FUNCALL
> ;
>
> %%
>
> bison (2.4.1) complains
>
> exp: