summaryrefslogtreecommitdiffstats
path: root/Tools/cases_generator/flags.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/cases_generator/flags.py')
-rw-r--r--Tools/cases_generator/flags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/cases_generator/flags.py b/Tools/cases_generator/flags.py
index 808c9e8..bf76112 100644
--- a/Tools/cases_generator/flags.py
+++ b/Tools/cases_generator/flags.py
@@ -175,7 +175,7 @@ def variable_used_unspecialized(node: parsing.Node, name: str) -> bool:
tokens: list[lx.Token] = []
skipping = False
for i, token in enumerate(node.tokens):
- if token.kind == "MACRO":
+ if token.kind == "CMACRO":
text = "".join(token.text.split())
# TODO: Handle nested #if
if text == "#if":