glcpp: More factoring-out of common code to simplify things.
authorCarl Worth <cworth@cworth.org>
Wed, 28 Nov 2012 20:11:02 +0000 (12:11 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 29 Nov 2012 21:03:01 +0000 (13:03 -0800)
commit01b83171c9d5529a9660ba404cc059daa318fc64
treea45f77a4c3b166d2b5104ad8aa12a665b791cb48
parentea34ac499d46407d8d90baa4a8fd9082ba6b3ea7
glcpp: More factoring-out of common code to simplify things.

This time creating a new _token_list_create_with_one_integer function
modeled after the existing _token_list_create_with_one_space function
(both implemented with new _token_list_create_with_one_ival).

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