Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,173 of 2,753    |
|    glen herrmannsfeldt to Rares GalaN    |
|    Re: ANSI C grammar without shift-reduce     |
|    09 Dec 07 15:32:36    |
      From: gah@ugcs.caltech.edu              Rares GalaN wrote:              > I'm trying to use the ANSI C Grammar from       > http://www.lysator.liu.se/c/ANSI-C-grammar-y.html and I'm getting a       > "shift - reduce on ELSE" error. I'm quite new with this, so it would       > really be useful if I could get a grammar that's conflict free. Any       > suggestions will help.              The C grammar is not conflict free. I thought shift-reduce was       a warning in yacc.              -- glen       [It is indeed a warning, but it also warns you that the generated       parser doesn't quite parse the input grammar. -John]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca