> to
> 
> add-expr:
>                 mul-expr                    |
>                 mult-expr '+' add-expr |
>                 mult-expr '-' add-expr ;
> 

I don't think that's what you want if you're planning
on executing the code you generate from this...

This means that 3 - 4 + 4 = -5, rather than the
traditional result of 3.

Kelly


_______________________________________________
Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to