OSDN Git Service

Expect 1 shift/reduce conflict.
authorCarl Worth <cworth@cworth.org>
Mon, 17 May 2010 19:45:16 +0000 (12:45 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 17 May 2010 19:46:35 +0000 (12:46 -0700)
commit796e1f0eadcfbbc6e4d79778b2378975204bb97c
tree5589eace3e7a8febf00ae9574ccd3214bdc70e5f
parentacf87bc03411c4d9b818a346bc9dad858b0a2407
Expect 1 shift/reduce conflict.

The most recent fix to the parser introduced a shift/reduce
conflict. We document this conflict here, and tell bison that it need
not report it (since I verified that it's being resolved in the
direction desired).

For the record, I did write additional lexer code to eliminate this
conflict, but it was quite fragile, (would not accept a newline
between a function-like macro name and the left parenthesis, for
example).
glcpp-parse.y