[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Including nonterminals in tab.h
From: |
address@hidden |
Subject: |
Including nonterminals in tab.h |
Date: |
Sat, 28 Aug 2004 08:46:08 -0400 |
Hello,
Is there a way to have Bison include definitions for the non-terminal
symbols in the tab.h file?
The non-terminal symbol names are available in the yytname table, but I
could find no easy way to get defines/enums for the names and token numbers
into tab.h (or another) file. Did I miss something?
If a patch is required to do this function, could a developer give me a
rough estimate of what is involved?
If I were working with a small grammar I would generate a file manually,
but my grammar is non-trivial (>1000 rules).
Thanks.
Bill Fenlason
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
- Including nonterminals in tab.h,
address@hidden <=