removed getGlobalContext from parser/parser.y