Add expr location for some errors