From 43febf28904aab68f9ffb10c83700e920fa1b319 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 18 Nov 2022 22:26:03 +0100 Subject: [PATCH] Typos in comments Signed-off-by: Gilles Peskine --- tests/scripts/generate_test_code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/generate_test_code.py b/tests/scripts/generate_test_code.py index a1eaa957f..e70fffb93 100755 --- a/tests/scripts/generate_test_code.py +++ b/tests/scripts/generate_test_code.py @@ -539,14 +539,14 @@ def skip_comments(line, stream): continuation = line while continuation.endswith('\\\n'): # This errors out if the file ends with an unfinished line - # comment. That's acceptable to not complicat the code further. + # comment. That's acceptable to not complicate the code further. continuation = next(stream) return line[:opening.start(0)].rstrip() + '\n' # Parsing /*...*/, looking for the end closing = line.find('*/', opening.end(0)) while closing == -1: # This errors out if the file ends with an unfinished block - # comment. That's acceptable to not complicat the code further. + # comment. That's acceptable to not complicate the code further. line += next(stream) closing = line.find('*/', opening.end(0)) pos = closing + 2