summaryrefslogtreecommitdiff
path: root/kconfigtest.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-11-08 14:34:25 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-11-08 14:34:25 +0100
commitb9409a7ca140f5f677b46293f0c8db52b14280d9 (patch)
tree95c1b7b5005b2c33adfc4f468a48c97990194582 /kconfigtest.py
parent00c10acf00140f5f14324c7ebbc316b10d0e4688 (diff)
Skip invalid characters when tokenizing.
Emulate zconf.l w.r.t. invalid characters at different locations within a line. This eliminates the need for special hacks to handle -*help-* "tokens". The Linux 3.7.0 configuration files now parse without errors.
Diffstat (limited to 'kconfigtest.py')
-rw-r--r--kconfigtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfigtest.py b/kconfigtest.py
index e6961a4..32d6f33 100644
--- a/kconfigtest.py
+++ b/kconfigtest.py
@@ -208,7 +208,7 @@ def test_call_all(conf):
# Syntax error
caught_exception = False
try:
- conf.eval("y & y")
+ conf.eval("y && && y")
except kconfiglib.Kconfig_Syntax_Error:
caught_exception = True