glsl2: Also initialize the identifier field of parameter_declarator.
authorEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 18:04:54 +0000 (11:04 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 18:04:54 +0000 (11:04 -0700)
commitb8db38e1c4f639cb0a063250d43f5a0ef6afd50f
treee191e4523497f88cf284a7f4081b7cedd6638d0c
parent004e924014f749e8ae5cc7a40e1bb431af0b9041
glsl2: Also initialize the identifier field of parameter_declarator.

The non-named parameter grammar understandably doesn't set the
identifier field.  Fixes intermittent failures about void main(void)
{} having a named void parameter.
src/glsl/ast.h