aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMoshe Kaplan <me@moshekaplan.com>2021-12-30 22:03:45 -0500
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-12-31 22:50:40 +0000
commit67f05835cac0a26636a7e04739a4cc0dd225c077 (patch)
tree5c9ca8cd94a62f02b815a37fe124f6303dfa752c /tools
parent6930a2db83ec7aacb70e27bd7174a5d4a8be4cef (diff)
Fix more repeated words throughout
Fixes more repeated words seen throughout the code base.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/WiresharkXML.py2
-rwxr-xr-xtools/fix-encoding-args.pl2
-rwxr-xr-xtools/test-common.sh2
-rw-r--r--tools/yacc.py6
4 files changed, 6 insertions, 6 deletions
diff --git a/tools/WiresharkXML.py b/tools/WiresharkXML.py
index d67e56d297..02d2cadf22 100755
--- a/tools/WiresharkXML.py
+++ b/tools/WiresharkXML.py
@@ -245,7 +245,7 @@ class ParseXML(xml.sax.handler.ContentHandler):
# Add element as child to previous element as long
# as there is more than 1 element in the stack. Only
- # one element in the stack means that the the element in
+ # one element in the stack means that the element in
# the stack is the single CaptureFile element, and we don't
# want to add this element to that, as we only want one
# Packet element in memory at a time.
diff --git a/tools/fix-encoding-args.pl b/tools/fix-encoding-args.pl
index a4b714cea9..f124314a30 100755
--- a/tools/fix-encoding-args.pl
+++ b/tools/fix-encoding-args.pl
@@ -479,7 +479,7 @@ sub find_hf_array_entries {
# Find all the <fcn_name>() statements wherein the encoding arg is a value other than
# one of the "replace" values.
# Uses zero-length negative-lookahead to find <fcn_name>() statements for which the encoding
- # arg is something other than one of the the provided replace values.
+ # arg is something other than one of the provided replace values.
# Escape any "|" characters in the values to be matched
# and then create "alternatives" string containing all the value strings. Ex: "A|B|C\|D|..."
my $match_str = join "|", map { my $copy = $_; $copy =~ s{ ( \| ) }{\\$1}gx; $copy } values %$searchReplaceHRef;
diff --git a/tools/test-common.sh b/tools/test-common.sh
index bc3f6f291e..42d78e8ad7 100755
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -41,7 +41,7 @@ MAX_PASSES=0
MAX_CPU_TIME=600
# Stop the child process if it's using more than y * 1024 bytes
MAX_VMEM=1000000
-# Stop the child process if its stack is larger than than z * 1024 bytes
+# Stop the child process if its stack is larger than z * 1024 bytes
# Windows XP: 2033
# Windows 7: 2034
# Mac OS X 10.6: 8192
diff --git a/tools/yacc.py b/tools/yacc.py
index ee088cfec7..1352e96334 100644
--- a/tools/yacc.py
+++ b/tools/yacc.py
@@ -556,7 +556,7 @@ class LRParser:
# If there are any synchronization rules, they may
# catch it.
#
- # In addition to pushing the error token, we call call
+ # In addition to pushing the error token, we call
# the user defined p_error() function if this is the
# first syntax error. This function is only called if
# errorcount == 0.
@@ -856,7 +856,7 @@ class LRParser:
# If there are any synchronization rules, they may
# catch it.
#
- # In addition to pushing the error token, we call call
+ # In addition to pushing the error token, we call
# the user defined p_error() function if this is the
# first syntax error. This function is only called if
# errorcount == 0.
@@ -1142,7 +1142,7 @@ class LRParser:
# If there are any synchronization rules, they may
# catch it.
#
- # In addition to pushing the error token, we call call
+ # In addition to pushing the error token, we call
# the user defined p_error() function if this is the
# first syntax error. This function is only called if
# errorcount == 0.