minikconf: accept alnum identifiers
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a284f798f3
commit
1b29af2f41
@ -645,7 +645,7 @@ class KconfigParser:
|
||||
self.cursor = self.src.find('\n', self.cursor)
|
||||
self.val = self.src[start:self.cursor]
|
||||
return TOK_SOURCE
|
||||
elif self.tok.isalpha():
|
||||
elif self.tok.isalnum():
|
||||
# identifier
|
||||
while self.src[self.cursor].isalnum() or self.src[self.cursor] == '_':
|
||||
self.cursor += 1
|
||||
|
Loading…
Reference in New Issue
Block a user