Implement global variable definition syntax error recovery