glcpp: Ignore junk tokens at end of #ifdef/#ifndef (with warning)
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Jun 2010 03:08:15 +0000 (20:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 19:41:05 +0000 (12:41 -0700)
commit65875743542fd1388b18a1a3c1c2bec4a6a3007e
tree6e5987fc0a4006dd48392defeb4d1d82baf05201
parentc9529c4d7727e0ff9da71f0941746e4d213dd689
glcpp: Ignore junk tokens at end of #ifdef/#ifndef (with warning)

Both nVidia's compiler and GCC accept this.
Fixes CorrectPreprocess11.frag.
glcpp/glcpp-parse.y