|Bison Question email@example.com (Kjell Post) (1989-05-10)|
|Date:||Wed, 10 May 89 17:18:08 PDT|
|From:||Kjell Post <firstname.lastname@example.org>|
I recently tried out the @n-feature of Bison but was surprised
to see that id didn't generate the typedef for YYLTYPE in the
file parse.tab.h (similar to how YYSTYPE is generated by %union).
How can I declare the yylloc in my lexer and remain portable
(i.e., without looking in parse.tab.c to figure out YYLTYPE
is declared) ?
[From Kjell Post <email@example.com>]
Return to the
Search the comp.compilers archives again.