@samitouri / QOSamiQemu / commits / 67c629e8db

minikconf: remove unnecessary semicolons

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Paolo Bonzini committed Apr 30, 2026 at 10:54 UTC 67c629e8db17c3a6032bc9835181a94b97371c9a
1 file changed +19 -19
scripts/minikconf.py
+19 -19
@@ -327,25 +327,25 @@ class KconfigData:
327 # tokens table
328 TOKENS = {}
329 TOK_NONE = -1
330 -TOK_LPAREN = 0; TOKENS[TOK_LPAREN] = '"("';
331 -TOK_RPAREN = 1; TOKENS[TOK_RPAREN] = '")"';
332 -TOK_EQUAL = 2; TOKENS[TOK_EQUAL] = '"="';
333 -TOK_AND = 3; TOKENS[TOK_AND] = '"&&"';
334 -TOK_OR = 4; TOKENS[TOK_OR] = '"||"';
335 -TOK_NOT = 5; TOKENS[TOK_NOT] = '"!"';
336 -TOK_DEPENDS = 6; TOKENS[TOK_DEPENDS] = '"depends"';
337 -TOK_ON = 7; TOKENS[TOK_ON] = '"on"';
338 -TOK_SELECT = 8; TOKENS[TOK_SELECT] = '"select"';
339 -TOK_IMPLY = 9; TOKENS[TOK_IMPLY] = '"imply"';
340 -TOK_CONFIG = 10; TOKENS[TOK_CONFIG] = '"config"';
341 -TOK_DEFAULT = 11; TOKENS[TOK_DEFAULT] = '"default"';
342 -TOK_Y = 12; TOKENS[TOK_Y] = '"y"';
343 -TOK_N = 13; TOKENS[TOK_N] = '"n"';
344 -TOK_SOURCE = 14; TOKENS[TOK_SOURCE] = '"source"';
345 -TOK_BOOL = 15; TOKENS[TOK_BOOL] = '"bool"';
346 -TOK_IF = 16; TOKENS[TOK_IF] = '"if"';
347 -TOK_ID = 17; TOKENS[TOK_ID] = 'identifier';
348 -TOK_EOF = 18; TOKENS[TOK_EOF] = 'end of file';
330 +TOK_LPAREN = 0; TOKENS[TOK_LPAREN] = '"("'
331 +TOK_RPAREN = 1; TOKENS[TOK_RPAREN] = '")"'
332 +TOK_EQUAL = 2; TOKENS[TOK_EQUAL] = '"="'
333 +TOK_AND = 3; TOKENS[TOK_AND] = '"&&"'
334 +TOK_OR = 4; TOKENS[TOK_OR] = '"||"'
335 +TOK_NOT = 5; TOKENS[TOK_NOT] = '"!"'
336 +TOK_DEPENDS = 6; TOKENS[TOK_DEPENDS] = '"depends"'
337 +TOK_ON = 7; TOKENS[TOK_ON] = '"on"'
338 +TOK_SELECT = 8; TOKENS[TOK_SELECT] = '"select"'
339 +TOK_IMPLY = 9; TOKENS[TOK_IMPLY] = '"imply"'
340 +TOK_CONFIG = 10; TOKENS[TOK_CONFIG] = '"config"'
341 +TOK_DEFAULT = 11; TOKENS[TOK_DEFAULT] = '"default"'
342 +TOK_Y = 12; TOKENS[TOK_Y] = '"y"'
343 +TOK_N = 13; TOKENS[TOK_N] = '"n"'
344 +TOK_SOURCE = 14; TOKENS[TOK_SOURCE] = '"source"'
345 +TOK_BOOL = 15; TOKENS[TOK_BOOL] = '"bool"'
346 +TOK_IF = 16; TOKENS[TOK_IF] = '"if"'
347 +TOK_ID = 17; TOKENS[TOK_ID] = 'identifier'
348 +TOK_EOF = 18; TOKENS[TOK_EOF] = 'end of file'
349
350 class KconfigParserError(Exception):
351 def __init__(self, parser, msg, tok=None):