Dne 27. 12. 21 v 11:33 Björn Persson napsal(a):
$ license-validate-v'GPL or (MIT and BSD)'
     No terminal defined for 'G' at line 1 col 1
Approximately nobody will understand "No terminal defined for 'G'". Can
the error message be improved?

I know. I wish to improve it too. This is my first time I work with LARK parser.

I was tempting to replace it with vague message "There is an error". But the error above points you to correct place in the string. So it seems to be slighty better.

Once I learn how to improve, I will do it. Suggestion is welcomed. :)

Miroslav