glsl/glcpp: Alphabetize lists of start conditions
authorCarl Worth <cworth@cworth.org>
Tue, 1 Jul 2014 21:55:56 +0000 (14:55 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 29 Jul 2014 22:11:51 +0000 (15:11 -0700)
commit80e9301d9be3f1fd85803a1fe5d9c6ac899e4e19
tree28c2da660752f87181d28e69417ddb4728cbd4f4
parentf9c99aefea85fe23bbe4b7802542eaf8f70d6798
glsl/glcpp: Alphabetize lists of start conditions

There is no behavioral change here. It's just easier to verify that lists
of start conditions include all expected conditions when they appear in a
consistent order.

The <INITIAL> state is special, so it appears first in all lists. All others
appear in alphabetical order.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/glcpp/glcpp-lex.l