1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From ee87a5bc25b8fd7b85d70239b39f095d76e2c992 Mon Sep 17 00:00:00 2001
From: litvin <litvindev@gmail.com>
Date: Tue, 1 Aug 2017 11:04:45 +0300
Subject: [PATCH 27/33] Fix "#if defined XXX" usage references
---
src/yylex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/yylex.c b/src/yylex.c
index ae00881..b77b195 100644
--- a/src/yylex.c
+++ b/src/yylex.c
@@ -1034,7 +1034,7 @@ int cexpyylex() {
if (mm && memb->u.mbody == NULL) mm = 0; // undefined macro
assert(s_opt.taskRegime);
if (CX_REGIME()) {
- if (mm) addCxReference(&dd, &pos, UsageUsed,s_noneFileIndex, s_noneFileIndex);
+ if (mm) addCxReference(memb, &pos, UsageUsed,s_noneFileIndex, s_noneFileIndex);
}
/* following call sets uniyylval */
res = cexpTranslateToken(CONSTANT, mm);
--
2.18.0
|