Collapse multiple spaces in input down to a single space.
authorCarl Worth <cworth@cworth.org>
Wed, 26 May 2010 00:08:07 +0000 (17:08 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 26 May 2010 00:08:07 +0000 (17:08 -0700)
commite9397867ddce20a4263949f4b3a488fa99af3041
treea73dde532681d25967a22bf29b11b5777449f3ac
parentf8ec4e0be86eee05f5a661a01864247fcd1a6b30
Collapse multiple spaces in input down to a single space.

This is what gcc does, and it's actually less work to do
this. Previously we were having to save the contents of space tokens
as a string, but we don't need to do that now.

We extend test #0 to exercise this feature here.
glcpp-lex.l
glcpp-parse.y
tests/000-content-with-spaces.c