yylval is a global variable of type YYSTYPE.
since all the grammar variables use it for storing/passing their symantic values, it should be declared as a union (or a struct).
typedef YYSTYPE some_struct_or_union;
the problem with structs, is that they soon get bloated if you have a lot of variables...
|