glsl: Ban #undefining __LINE__ and friends on GLES2.
authorEric Anholt <eric@anholt.net>
Mon, 1 May 2017 23:35:34 +0000 (16:35 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 8 May 2017 19:15:49 +0000 (12:15 -0700)
commite5ade7db73ce209f4f23f8c9d1272575fe990b14
tree7b02e0712f72f9b1976f465d0ff6080d0b64729f
parentefa9750e96cc80ff76e0082063da37be53c07a12
glsl: Ban #undefining __LINE__ and friends on GLES2.

Fixes deqp_gles2 undefine_invalid_object_* failures.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Matt Turner <mattst88@gmail.com>
src/compiler/glsl/glcpp/glcpp-parse.y