[comp.compilers] Bison Question

kjell@saturn.ucsc.edu (Kjell Post) (05/11/89)

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 <kjell@saturn.ucsc.edu>]
--
Send compilers articles to compilers@ima.isc.com or, perhaps, Levine@YALE.EDU
Plausible paths are { decvax | harvard | yale | bbn}!ima
Please send responses to the originator of the message -- I cannot forward
mail accidentally sent back to compilers.  Meta-mail to ima!compilers-request