bnf - "Non-exhaustive patterns in case" error while parsing the BNFC file -
i getting
bnfc: src/lexbnf.x:(80,13)-(86,20): non-exhaustive patterns in case
error. mean?
it doesn't what's wrong bnf grammar, , have no idea how find error. tried looking for past few days, unsuccessfully.
i checked if every symbol defined somewhere in file, fixed rules, nothing helped.
i used have 2.6, , had same problem. however, on tool's webpage, says improvements error messages have been made since earlier versions, installed latest version (2.8), , gave me more informative error message. i'd recommend same.
Comments
Post a Comment