help-bison
[Top][All Lists]
Advanced

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

Re: Problem : $1 include laters $N


From: Akim Demaille
Subject: Re: Problem : $1 include laters $N
Date: 14 Nov 2001 09:34:36 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

>>>>> "capdevielle" == capdevielle marc <address@hidden> writes:

capdevielle> the $1 variable contains $2 even if WORD as a definition
capdevielle> like [A-Za-z0-9] in lex and that lex sends back to bison
capdevielle> two separated tokens.

yylval.str = strndup (yytext, yyleng);

in your scanner.  Read the Lex books.



reply via email to

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