Hello folks
I am currently working on my first bison project, which is a parser for
vhdl. Since I only need a subset of the language, I want to specify
actions only this subset.
consider the following example:
arch_body_1 : ;
{ $$ = new TDataLineList; }
arch_body_1 : block_decltve
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
Hello Hans
First of all thanks a lot for your help.
>You can change the skeleton file.
I have tried out and it works, but it seems like it doesn't make life
much easier. So I think I will stick to dummy actions for unneeded rules
and leave the skeleton alone.
By the way, just in case someon