Make parse and lex debug output more readable
Call handle_error even when error occurs exactly where expected

Previously, if an error happened right at the beginning of an error
production, the error node would be immediately shifted onto the stack
without calling the error handling function.