From 1aba0436cf4438143be7d5654e99b287b8296180 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 15 Dec 2012 07:47:24 +0100 Subject: Add comment about m && MODULES rewriting. --- kconfiglib.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kconfiglib.py') 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 ', '... if ', + # 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"): -- cgit v1.2.3