[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using multiple grammars with a single lexer.
From: |
Frank Heckenbach |
Subject: |
Re: Using multiple grammars with a single lexer. |
Date: |
Mon, 4 Aug 2003 04:24:12 +0200 |
User-agent: |
semail 20030730 |
Keith Clifford wrote:
> My question is can you suggest a way of doing what I'm trying to do that's
> guaranteed to work with all yaccs or at least as many as possible? If it
> wasn't for my manually generated verification file, it would probably work
> but then I would run the risk of the token types getting out of sync and not
> knowing about it until run time.
Have you tried letting bison generate headers (`-d') and including
all of them into the lexer?
Frank
--
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)