glsl: glcpp: Rename and document _glcpp_parser_expand_if
authorCarl Worth <cworth@cworth.org>
Sat, 9 Jun 2012 23:29:38 +0000 (16:29 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 26 Jun 2012 22:21:16 +0000 (15:21 -0700)
commit39f8c46eaa4d1c3b072cd97d256fe973c1791b14
tree814790e18a87fe819d6733af4879c6a28aabebc6
parent1db463ce2e2812c4e41ab4096ff16a148d4bcc90
glsl: glcpp: Rename and document _glcpp_parser_expand_if

This function is currently used only in the expansion of #if lines,
but we will soon be using it more generally (for the expansion of
(_glcpp_parser_expand_and_lex_from) and some more documentation.

Signed-off-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glcpp/glcpp-parse.y