fixed static errors in parser generator files