diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-10 08:10:58 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-10 08:11:23 +0100 |
| commit | ba2cec3aa79ac969dbf16fe31d875206553195d3 (patch) | |
| tree | 3ae2a04089b3bffe05514d53a144ca770e64fa5e | |
| parent | b8366c3b2dfcc0578bfc467d5c5ea03fa0f753d1 (diff) | |
Register refs. for symbols on the RHS of =/!=.
Omission.
| -rw-r--r-- | kconfiglib.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 7fe9c33..b9d89a6 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -865,6 +865,10 @@ class Config(): relation = EQUAL if (feed.get_next() == T_EQUAL) else UNEQUAL sym_or_string_2 = feed.get_next() + if self.parse_expr_cur_sym_or_choice is not None and \ + isinstance(sym_or_string_2, Symbol): + self.parse_expr_cur_sym_or_choice.referenced_syms.add(sym_or_string_2) + if sym_or_string is self.m: sym_or_string = "m" |
