Make the lexer pass whitespace through (as OTHER tokens) for text lines.
authorCarl Worth <cworth@cworth.org>
Tue, 25 May 2010 22:04:32 +0000 (15:04 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 25 May 2010 22:04:32 +0000 (15:04 -0700)
commit9fb8b7a495c9dc6f9a62cf82300fae5925af92fc
tree622648ad7c965b94608a2f4d6d05dfb9963e348f
parent808401fd79eea9fa2c965f9f235a753c0cb0d920
Make the lexer pass whitespace through (as OTHER tokens) for text lines.

With this change, we can recreate the original text-line input
exactly. Previously we were inserting a space between every pair of
tokens so our output had a lot more whitespace than our input.

With this change, we can drop the "-b" option to diff and match the
input exactly.
glcpp-lex.l
glcpp-parse.y
tests/glcpp-test