Skip to content
Snippets Groups Projects
Commit 9477ba37 authored by benjamin.franksen's avatar benjamin.franksen
Browse files

snc/docs: filter error productions from the bnf output

parent da8d630c
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ while (<$fhre>) {
print ".. productionlist::\n";
while (<$fhlem>) {
next if /error/;
if (my ($l,$r) = /(\w+) ::= ?(.*)\./) {
my @rws = split(/ /,$r);
print " $l: ";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment