diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-15 07:47:24 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-15 07:47:24 +0100 |
| commit | 1aba0436cf4438143be7d5654e99b287b8296180 (patch) | |
| tree | 9a01e9ea37007c5db10513f144cb9cbd0451f00b /kconfiglib.py | |
| parent | b74fcc83a77edef817b5680a55c4d5a656f8b698 (diff) | |
Add comment about m && MODULES rewriting.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index a885149..70a4477 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -869,6 +869,9 @@ class Config(): self.parse_expr_cur_sym_or_choice.referenced_syms.add(sym_or_string) next_token = feed.peek_next() + + # For conditional expressions ('depends on <expr>', '... if <expr>', + # etc.), "m" and m are rewritten to "m" && MODULES. if next_token != T_EQUAL and next_token != T_UNEQUAL: if self.parse_expr_transform_m and (sym_or_string is self.m or sym_or_string == "m"): |
