Aaron Jackson wrote:
> Thanks for the response.
You're welcome.
> On Feb 11, 2008, at 5:03 AM, [EMAIL PROTECTED] wrote:
>
>> To the best of my knowledge, you would need to modify the skeleton
file. [...]
> I wanted to avoid this since I want my .y code to be portable.
It would be. You'd just
On Mon, 11 Feb 2008, Aaron Jackson wrote:
> I would like to declare some variables that are local to yyparse.
> If I use %parse-param{variables_t variables;},
> where variables_t is a structure containing x,y,z, I get what I want, but
> since I don't need x,y,z after yyparse returns, this seems l
Thanks for the response.
On Feb 11, 2008, at 5:03 AM, [EMAIL PROTECTED] wrote:
I would like to declare some variables that are local to yyparse.
To the best of my knowledge, you would need to modify the skeleton
file.
When I wanted to do this, I determined that it was not possible
otherwi
On 11 Feb 2008, at 09:17, Aaron Jackson wrote:
I would like to declare some variables that are local to yyparse.
I am building a linked list of structures, and I need to make sure
I have values for all the structure members before I add a new node
to the list. Since I wrote the parser to
> I would like to declare some variables that are local to yyparse.
To the best of my knowledge, you would need to modify the skeleton file.
When I wanted to do this, I determined that it was not possible otherwise.
I may be wrong, but I don't think this has changed with more recent
versions.
>
I would like to declare some variables that are local to yyparse. I
am building a linked list of structures, and I need to make sure I
have values for all the structure members before I add a new node to
the list. Since I wrote the parser to be a pure parser, global
variables, are not an