Skip to content

Commit 271048c

Browse files
committed
[Macros] Fix diagnostic location
1 parent 1b14b5d commit 271048c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/AST/DiagnosticsParse.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,9 +2005,9 @@ ERROR(macro_decl_expected_period,PointsToFirstBadToken,
20052005
ERROR(macro_decl_expected_macro_type,PointsToFirstBadToken,
20062006
"expected external macro type name", ())
20072007

2008-
ERROR(macro_expansion_expr_expected_macro_identifier,none,
2008+
ERROR(macro_expansion_expr_expected_macro_identifier,PointsToFirstBadToken,
20092009
"expected a macro identifier for a pound literal expression", ())
2010-
ERROR(macro_expansion_decl_expected_macro_identifier,none,
2010+
ERROR(macro_expansion_decl_expected_macro_identifier,PointsToFirstBadToken,
20112011
"expected a macro identifier for a pound literal declaration", ())
20122012

20132013
ERROR(parser_round_trip_error,none,

0 commit comments

Comments
 (0)