Re: Type checking in semantic actions

2010-02-15 Thread Michael Budach
Hello Hans Thanks for the reply. So you need to assign config_spec a valid value somewhere, or write a rule that initializes $$ instead of the default rule. Does that mean it is possible to redefine the default rule from "$$ = $1;" to e.g. "$$=NULL;" ? Can you tell me how ? I did not find an

Re: Type checking in semantic actions

2010-02-15 Thread Hans Aberg
On 15 Feb 2010, at 22:25, Michael Budach wrote: So you need to assign config_spec a valid value somewhere, or write a rule that initializes $$ instead of the default rule. Does that mean it is possible to redefine the default rule from "$$ = $1;" to e.g. "$$=NULL;" ? Can you tell me how ? I d