add ParserException
change to ParserException
change to use Location
small fix
change to use ParserException