[binutils-gdb] [contrib] Fix typo in check_GNU_style_lib.py
Tom de Vries
vries@sourceware.org
Thu Nov 20 09:47:00 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=77f91fd4f1021ea6b8b3a43c2d7fa183ff940d2f
commit 77f91fd4f1021ea6b8b3a43c2d7fa183ff940d2f
Author: Tom de Vries <tdevries@suse.de>
Date: Thu Nov 20 10:46:54 2025 +0100
[contrib] Fix typo in check_GNU_style_lib.py
Fix typo: TrailinigOperatorCheck -> TrailingOperatorCheck.
Diff:
---
contrib/check_GNU_style_lib.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py
index 8b930ef6bdb..faf30c4d9a2 100755
--- a/contrib/check_GNU_style_lib.py
+++ b/contrib/check_GNU_style_lib.py
@@ -217,7 +217,7 @@ class BracesOnSeparateLineCheck:
line[:m.start(2)] + error_string(m.group(2)) + line[m.end(2):],
'braces should be on a separate line', m.start(2))
-class TrailinigOperatorCheck:
+class TrailingOperatorCheck:
def __init__(self):
regex = r'^\s.*(([^a-zA-Z_]\*)|([-%<=&|^?])|([^*]/)|([^:][+]))$'
self.re = re.compile(regex)
@@ -272,7 +272,7 @@ def check_GNU_style_file(file, format):
SentenceSeparatorCheck(), SentenceEndOfCommentCheck(),
SentenceDotEndCheck(), FunctionParenthesisCheck(),
SquareBracketCheck(), ClosingParenthesisCheck(),
- BracesOnSeparateLineCheck(), TrailinigOperatorCheck(),
+ BracesOnSeparateLineCheck(), TrailingOperatorCheck(),
SpacesAndTabsMixedCheck()]
errors = []
More information about the Binutils-cvs
mailing list