forked from zaach/jison
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for production output (generated parsers):
- added the option `-T` (`--output-debug-tables`) which you can add to the jison command line options when you wish to *keep* the (otherwise unused) `nonterminals_` table, which lists the entire grammar verbatim. - strip the `nonterminals_` table output from the output when the above option is not set; prep code to have the table produce more / additional debug/diagnostics data when the user **does** want the table to be included in the output.
- Loading branch information
1 parent
67e35ad
commit 1ab3fef
Showing
1 changed file
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters