qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] minikconf: fix parser typo


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH] minikconf: fix parser typo
Date: Tue, 12 Mar 2019 17:57:33 +0100

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 <address@hidden>
---
 scripts/minikconf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.20.1




reply via email to

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