KhronosGroup / GLSL

GLSL Shading Language Specification and Extensions
Other
337 stars 98 forks source link

Make `switch_statement_list` and `conditionopt` consistent. #246

Closed dj2 closed 1 week ago

dj2 commented 1 month ago

Both switch_statement_list and conditionopt permit an empty entry. In one case we used _nothing_ and the other _empty. As well, the ordering of when the entry was reversed, first in one, second in the other.

This CL makes them consistent by using _empty_ and listing it first in both grammar productions.