glcpp: Support #elif(expression) with no intervening space.

And add test cases to ensure that this works
	- 110 verifies that glcpp rejects #elif<digits> which glcpp
	  previously accepted.
	- 111 verifies that glcpp accepts #if followed immediately by
	  (, +, -, !, or ~.
	- 112 does the same as 111 but for #elif.

See 17f9beb6 for #if change.
Reviewed-by: Carl Worth <cworth@cworth.org>
This commit is contained in:
Matt Turner
2012-11-26 11:53:45 -08:00
parent aed466192a
commit c3a465ae98
7 changed files with 96 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
success
success
success
success