Fix two whitespace bugs in the lexer.
authorCarl Worth <cworth@cworth.org>
Sat, 15 May 2010 00:29:24 +0000 (17:29 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 15 May 2010 00:29:24 +0000 (17:29 -0700)
commite36a4d5be9a9fa3abc4fb5d0b6c3601934f7a343
tree6c6f6d97a1a29a3fc31655d8c125587a9a40af99
parent81f01432bd4aad8e8b87ae273eb05297e35eff07
Fix two whitespace bugs in the lexer.

The first bug was not allowing whitespace between '#' and the
directive name.

The second bug was swallowing a terminating newline along with any
trailing whitespace on a line.

With these two fixes, and the previous commit to stop emitting SPACE
tokens, the recently added extra-whitespace test now passes.
glcpp-lex.l