From 2521dd48d820326cfa2c3efa8bfde19dec7109e5 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 1 Nov 2022 11:37:00 +0000 Subject: [PATCH] makedocbook: Drop stray semicolons This isn't written in C :) --- newlib/doc/makedocbook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newlib/doc/makedocbook.py b/newlib/doc/makedocbook.py index 57cd23bfd..8a3c31ca6 100755 --- a/newlib/doc/makedocbook.py +++ b/newlib/doc/makedocbook.py @@ -449,7 +449,7 @@ command_dispatch_dict = { # apply transformations which are easy to do in-place def line_markup_convert(p): - s = p; + s = p # process the texinfo escape for an @ s = s.replace('@@', '@') @@ -582,7 +582,7 @@ def t_eof(t): return None t.type = 'EOF' - t.lexer.at_eof = True; + t.lexer.at_eof = True return t