Skip to content

Commit 05a6cf3

Browse files
committed
Use diagnostic name "macro expansion" without the "expression" for macro expansion expressions
These show up in declaration positions now, and we can only determine what kind of entity it is once we know more about the macro (semantically).
1 parent f6e500d commit 05a6cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gyb_syntax_support/ExprNodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@
648648

649649
# e.g., "#embed("filename.txt")"
650650
Node('MacroExpansionExpr',
651-
name_for_diagnostics="macro expansion expression", kind='Expr',
651+
name_for_diagnostics="macro expansion", kind='Expr',
652652
traits=['FreestandingMacroExpansion'],
653653
children=[
654654
Child('PoundToken', kind='PoundToken',

0 commit comments

Comments
 (0)