Implement all operators specified for GLSL #if expressions (with tests).
authorCarl Worth <cworth@cworth.org>
Mon, 24 May 2010 17:37:38 +0000 (10:37 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 24 May 2010 17:37:38 +0000 (10:37 -0700)
commitbcbd587b0f5312d85307785ee2df6e5906af4f7b
treeb44d1115168ddf3bb401c56a1938a6813718cbdc
parentb20d33c5c6fea8e392c26e9ab060efd14034f1f9
Implement all operators specified for GLSL #if expressions (with tests).

The operator coverage here is quite complete. The one big thing
missing is that we are not yet doing macro expansion in #if
lines. This makes the whole support fairly useless, so we plan to fix
that shortcoming right away.
glcpp-lex.l
glcpp-parse.y
tests/049-if-expression-precedence.c [new file with mode: 0644]
tests/050-if-defined.c [new file with mode: 0644]
tests/051-if-relational.c [new file with mode: 0644]