Bison Question

Kjell Post <kjell@saturn.ucsc.edu>
Wed, 10 May 89 17:18:08 PDT

          From comp.compilers

Related articles
Bison Question kjell@saturn.ucsc.edu (Kjell Post) (1989-05-10)
| List of all articles for this month |

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>]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.