Fix parsing of object-like macro with a definition that begins with '('.
authorCarl Worth <cworth@cworth.org>
Thu, 13 May 2010 17:29:07 +0000 (10:29 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 14 May 2010 16:20:13 +0000 (09:20 -0700)
commit0a93cbbe4f00e0bdd0c61119d3598e3a98a37505
treebf47d31455122abc843fbfe405c81e73009760db
parent67c27afc168f85ce6dc66820db864aaaef67f8ed
Fix parsing of object-like macro with a definition that begins with '('.

Previously our parser was incorrectly treating this case as a
function-like macro. We fix this by conditionally passing a SPACE
token from the lexer, (but only immediately after the identifier
immediately after #define).
glcpp-lex.l
glcpp-parse.y