qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 001/142] minikconf: accept alnum identifiers


From: Thomas Huth
Subject: Re: [PATCH 001/142] minikconf: accept alnum identifiers
Date: Wed, 29 Jan 2020 13:09:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

-EMISSINGPATCHDESCRIPTION

Why is this required? Bug fix? New feature? ... please add some words here.

 Thomas


On 28/01/2020 18.51, Paolo Bonzini wrote:
> From: Marc-André Lureau <address@hidden>
> 
> Signed-off-by: Marc-André Lureau <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  scripts/minikconf.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/minikconf.py b/scripts/minikconf.py
> index 40ae1989e1..febd9a479f 100644
> --- a/scripts/minikconf.py
> +++ b/scripts/minikconf.py
> @@ -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
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]