extend global definitions in parser