Re: Why the "compound_statement " is useless no-terminator ???

2009-09-13 Thread Philip Herron
wan sheg wrote: Hi : I'm using bison for a sub-set grammar of C language . But I encounter a difficult . flowing is the core part of my grammar file; /* grammar for subset of C language */ %left OR_OP %left AND_OP %left '+' %left '-' %left '*' %left '/' %% %start file

Why the "compound_statement " is useless no-terminator ???

2009-09-13 Thread wan sheg
Hi : I'm using bison for a sub-set grammar of C language . But I encounter a difficult . flowing is the core part of my grammar file; /* grammar for subset of C language */ %left OR_OP %left AND_OP %left '+' %left '-' %left '*' %left '/' %% %start file ; file