We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f13662e + 7161f38 commit 342ea80Copy full SHA for 342ea80
exts/ferrocene_spec/syntax_directive.py
@@ -162,6 +162,10 @@ def is_syntax_identifier(identifier):
162
# the problematic part of the identifier.
163
if identifier.startswith("XID_"):
164
identifier = identifier[len("XID_") :]
165
+ # An unfortunate case where we end up with a single letter prefix violating
166
+ # our rules. Special case this like above by avoiding the rule breakage.
167
+ if identifier == "CStringLiteral":
168
+ identifier = "CstringLiteral"
169
170
expected = EXPECT_UPPER
171
for char in identifier:
0 commit comments