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,321 of 2,753    |
|    Paulo Jorge de O. C. de Matos to All    |
|    Unexpected C Parsing Conflict    |
|    25 Apr 08 20:38:07    |
      From: pocm@soton.ac.uk              Hello all,              I have found a conflict in parsing C99 which arises from the fact that       after a mult_expr a '*' (according to bison) can come up which means       that it can either reduce mult_expr or shift the '*' for yet another       multiplication.              Now, * comes up as a unary operator and in the pointer definition but       I can't find how or where they can follow a multiplication. Can       someone let me know either how to solve this shift/reduce conflict or       give me a concrete example where a * comes after a multiplication and       is not a multiplication operator?              Cheers,              --       Paulo Jorge Matos - pocm at soton.ac.uk       http://www.personal.soton.ac.uk/pocm       PhD Student @ ECS       University of Southampton, UK              --- 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