ietf-tools / bap

An ABNF parser, focusing on human-friendly error messages.
41 stars 27 forks source link

With -q option, no errors are generated for an undefined token #11

Open jimsch opened 6 years ago

jimsch commented 6 years ago

The code for undefined tokens is only run when printing the ABNF out. THis means that it does not do anything if the -q option is given. In both cases, the program will return a 0 exit code