diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-12 17:48:48 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-20 11:44:13 +0100 |
commit | 67163caebaff04d82f7080da902663780e29e74c (patch) | |
tree | 0bffeabcc74cc1159ab43755e77b34f1a2c8ce98 /scripts/minikconf.py | |
parent | 4b519ef1de9a7cb8123abadab9e6c5697373087c (diff) |
minikconf: fix parser typo
The result of this typo would be that "select_foo" would be treated as a "select"
keyword followed by "_foo". Nothing too bad, but easy to fix so let's be clean.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/minikconf.py')
-rw-r--r-- | scripts/minikconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/minikconf.py b/scripts/minikconf.py index 5421db0ed0..0ffc6c38da 100644 --- a/scripts/minikconf.py +++ b/scripts/minikconf.py @@ -592,7 +592,7 @@ class KconfigParser: if not self.src.startswith(rest, self.cursor): return False length = len(rest) - if self.src[self.cursor + length].isalnum() or self.src[self.cursor + length] == '|': + if self.src[self.cursor + length].isalnum() or self.src[self.cursor + length] == '_': return False self.cursor += length return True |