mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue