On page 110 and 111 (glsl 1.50 revision 11), the init_declarator_list and single_declaration rules make possible to have a (fully specified) type, then a COMMA, then an identifier.
I’m not able to find why allowing a comma to follow directly the type is useful. Is there a useful situation where we would like it ?
Also, it is possible to have
invariant foo, bar
What’s the reason ?
Page 112 in rule type_qualifier, the last alternative is ‘invariant’. I think it should be ‘INVARIANT’, i.e. a terminal, is it correct ?