Switch to intmax_t (rather than int) for #if expressions
authorCarl Worth <cworth@cworth.org>
Mon, 24 May 2010 18:27:23 +0000 (11:27 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 24 May 2010 18:27:23 +0000 (11:27 -0700)
commit35419095f8d92f7dc5de472da3a0271d343cbcba
tree9915f984e31aafe0d85a73b1b2d2891842f0d175
parent89b933a24375a2ebed383290f24360a14edbac6b
Switch to intmax_t (rather than int) for #if expressions

This is what the C99 specification demands. And the GLSL specification
says that we should follow the "standard C++" rules for #if condition
expressions rather than the GLSL rules, (which only support a 32-bit
integer).
glcpp-parse.y
glcpp.h