Warn on unused rules

This commit is contained in:
josh committed 2026-11-03 22:07:51 -05:00
1 parent 66af46a4f6
commit e5805d2db4
6 files changed
+87 -6

No files matched your search

+2 -2
View File
@@ -39,8 +39,8 @@ Propane is typically invoked from the command-line as `./propane`.
debugging a grammar.
--version Show program version and exit.
-w Treat warnings as errors. This option will treat shift/reduce
conflicts as fatal errors and will print them to stderr in
addition to the log file.
conflicts and unused rules as fatal errors and will print
them to stderr in addition to the log file.
The user must specify the path to a Propane input grammar file and a path to an
output file.