add exceptions in signatures to grammar and parser