summaryrefslogtreecommitdiff
path: root/identifiers.c
diff options
context:
space:
mode:
Diffstat (limited to 'identifiers.c')
-rw-r--r--identifiers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/identifiers.c b/identifiers.c
index 6d1506d..c5a4ec1 100644
--- a/identifiers.c
+++ b/identifiers.c
@@ -56,6 +56,7 @@ static bool ident_str_eq_str(const char *s, const char *t) {
}
static inline bool ident_eq_str(Identifier i, const char *s) {
+ if (i->anonymous) return false;
return ident_str_eq_str(i->text, s);
}