diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-01 15:39:48 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-01 15:42:19 +0100 |
| commit | 81597fd6beade40901e064954700166b855dcb12 (patch) | |
| tree | 715f175c6bd6a4d6f015c146684e4b2aa3ad7e40 /kconfiglib.py | |
| parent | 2a4d38392cf56633a2270730346f7ccef73631bf (diff) | |
Simplify _parse_factor() error handling
"malformed expression" should be clear enough for a missing end
parenthesis too. Expressions are generally short.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 51e1b5d..c5b0cdf 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2295,8 +2295,6 @@ class Kconfig(object): if self._check_token(_T_CLOSE_PAREN): return expr_parse - self._parse_error("missing end parenthesis") - self._parse_error("malformed expression") # |
