glcpp: Flag invalid pastes for integer followed by non-digits
authorCarl Worth <cworth@cworth.org>
Wed, 28 Nov 2012 21:01:24 +0000 (13:01 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 29 Nov 2012 21:03:01 +0000 (13:03 -0800)
commite1597f0a81f8fef55c48bd01f81acf2f3ff7f9b7
tree42af5413600def861dc8b78a820008bf388c4799
parentc86eb0cd65f04a242952bfc610d80341673b3d52
glcpp: Flag invalid pastes for integer followed by non-digits

As recently tested in the additions to the invalid paste test, it is illegal
to paste a non-digit sequence onto the end of an integer.

The 082-invalid-paste test should now pass again.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/glcpp/glcpp-parse.y