Change the grammar to include error rules. See error rules in GCC for bracket matching, etc.
Log in to post a comment.