summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-12 12:44:51 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-12 12:44:51 +0200
commit6d523aeea6cf7b7762e7e93152eb6bf80b1f1e78 (patch)
treec02747b8db3ea63ef9da03ddce2848ed1de1faee /kconfiglib.py
parent33f3c83c70ce032d760343ffc68db1ec3629d64c (diff)
Compactify _parse_factor() slightly.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index abbf231..6ea7255 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -854,7 +854,6 @@ class Config(object):
return (NOT, self._parse_factor(feed))
sym_or_string = feed.get_next()
-
if not isinstance(sym_or_string, (Symbol, str)):
_parse_error(self._line, "malformed expression.", self._filename,
self._linenr)
@@ -864,7 +863,6 @@ class Config(object):
self._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: