Add location info to Extension in parser