Bison Question

Kjell Post <>
Wed, 10 May 89 17:18:08 PDT

          From comp.compilers

Related articles
Bison Question (Kjell Post) (1989-05-10)
| List of all articles for this month |

Date: Wed, 10 May 89 17:18:08 PDT
From: Kjell Post <>

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 (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 to figure out YYLTYPE
is declared) ?
[From Kjell Post <>]

Post a followup to this message

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