diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-06 06:02:03 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-06 06:02:03 +0200 |
| commit | a20352a05696b0201484839afddde7629581e9fb (patch) | |
| tree | f83a2ffc8d79976d29fc22a09fe87fc9b3397a3f | |
| parent | 01d3b13b1123cdc80516f9d06821133fde1c8707 (diff) | |
Explain why eval() might seem sloppy.
| -rw-r--r-- | kconfiglib.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 9ed81ea..01c7823 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -513,7 +513,10 @@ class Config(object): conditional expressions in the configuration as well as in the C implementation. "m" and m are rewritten as '"m" && MODULES' and 'm && MODULES', respectively, and a result of "m" will get promoted to "y" if - we're running without modules.""" + we're running without modules. + + Syntax checking is somewhat lax, partly to be compatible with lax + parsing in the C implementation.""" return self._eval_expr(self._parse_expr(self._tokenize(s, True), # Feed None, # Current symbol or choice s)) # line |
