Use FailedSemantics instead of SemanticsError so the exception is caught by the context and the source line number is reported.
Use FailedSemantics instead of SemanticsError so the exception is caught by the context and the source line number is reported.

vmuriart/grako,frnknglrt/grako