help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing input from a string...


From: Dave Trombley
Subject: Re: Parsing input from a string...
Date: Wed, 30 Jan 2002 10:31:20 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628

Akim Demaille wrote:

#define YYPARSE_PARAM parm
#define YYLEX_PARAM parm

See also YY_DECL in flex.

Right, I'm using these already. The problem I'm having is that I can't access the 'parm' variable passed to the function that YY_INPUT gets inserted, consequently I can't reference 'parm' in my YY_INPUT. The way flex does buffering internally is not well documented, it seems. Do you know how this stuff works?

-dj trombley
<address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]