Fix semantic errors reported during grammar compilation are not fully un...

...derlined (partially fixes #25)