https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2521dd48d820326cfa2c3efa8bfde19dec7109e5 commit 2521dd48d820326cfa2c3efa8bfde19dec7109e5 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Tue Nov 1 11:37:00 2022 +0000 makedocbook: Drop stray semicolons This isn't written in C :) Diff: --- 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