Related articles |
---|
Bison Question kjell@saturn.ucsc.edu (Kjell Post) (1989-05-10) |
Date: | Wed, 10 May 89 17:18:08 PDT |
From: | Kjell Post <kjell@saturn.ucsc.edu> |
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>]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.