summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-08-06 23:50:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-08-06 23:50:06 (GMT)
commit293434ab6cb34f1ffb9ed2003a44d7f5aa4450cf (patch)
tree8da3bc0d63d0713b630c8eba77bbaa0e0befb427
parent5a200ff57787261d9390cdffbd227121040ab208 (diff)
Disable some code for referencing patterns.
-rw-r--r--src/analysis/scan/grammar.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analysis/scan/grammar.y b/src/analysis/scan/grammar.y
index d0aeb90..10e1d42 100644
--- a/src/analysis/scan/grammar.y
+++ b/src/analysis/scan/grammar.y
@@ -313,6 +313,7 @@ string_decl : IDENTIFIER ASSIGN PLAIN_STRING
_cexpression : IDENTIFIER
{
printf("named var: %s\n", "$1");
+ $$ = NULL;
/*
GSearchPattern *__pat;
GMatchCounter *__counter;