Fixes SyntaxError locations.