changes decls in parser