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>
This commit is contained in:
parent
4b519ef1de
commit
67163caeba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user