Fix pass-through of '=' and add a test for it.
authorCarl Worth <cworth@cworth.org>
Sat, 29 May 2010 12:07:24 +0000 (05:07 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 29 May 2010 12:07:24 +0000 (05:07 -0700)
commit631016946ca8134244c4e58bef6863d204b1119b
tree5d6eb18bcb55307c2306bf1685f07c5d4818b990
parent681afbc855c86df8c3521ccdfadb7f16b9729baa
Fix pass-through of '=' and add a test for it.

Previously '=' was not included in our PUNCTUATION regeular expression,
but it *was* excldued from our OTHER regular expression, so we were
getting the default (and hamful) lex action of just printing it.

The test we add here is named "punctuator" with the idea that we can
extend it as needed for other punctuator testing.
glcpp-lex.l
glcpp-parse.y
tests/071-punctuator.c [new file with mode: 0644]