OSDN Git Service

Make the lexer return SPACE tokens unconditionally.
authorCarl Worth <cworth@cworth.org>
Thu, 13 May 2010 17:46:29 +0000 (10:46 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 14 May 2010 16:48:14 +0000 (09:48 -0700)
commit48b94da0994b44e41324a2419117dcd81facce8b
tree2e30fe4a2b5e6eb953dbb37fadaa916f4f79d284
parent462cce1852c80a2d71bfec1a2ead10fe0a9e2486
Make the lexer return SPACE tokens unconditionally.

It seems strange to always be returning SPACE tokens, but since we
were already needing to return a SPACE token in some cases, this
actually simplifies our lexer.

This also allows us to fix two whitespace-handling differences
compared to "gcc -E" so that now the recent modification to the test
suite passes once again.
glcpp-lex.l
glcpp-parse.y