YACC grammer for c

michael at orcisi.UUCP michael at orcisi.UUCP
Sat Dec 6 09:02:22 AEST 1986


> The grammar in the back of Harbison and Steele is a real LALR(1) grammar
> and it YACC's just fine. They have even gone to the trouble of using "open"
> and "close" statements to remove the 1 shift/reduce error you normally
> get when compiling if-then-else statements.

Has someone typed this in?  I'm sure there must be.
How about posting it to comp.sources?



More information about the Comp.lang.c mailing list