Skip to content

Commit bf08f0a

Browse files
authored
Fix typos in comments (#119645)
1 parent a9a74da commit bf08f0a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tools/clinic/libclinic/dsl_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class ParamState(enum.IntEnum):
119119
# Legal transitions: to LEFT_SQUARE_BEFORE or REQUIRED
120120
START = 0
121121

122-
# Left square backets before required params.
122+
# Left square brackets before required params.
123123
LEFT_SQUARE_BEFORE = 1
124124

125125
# In a group, before required params.

Tools/peg_generator/pegen/parser_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242

4343
class RuleCollectorVisitor(GrammarVisitor):
44-
"""Visitor that invokes a provieded callmaker visitor with just the NamedItem nodes"""
44+
"""Visitor that invokes a provided callmaker visitor with just the NamedItem nodes"""
4545

4646
def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None:
4747
self.rulses = rules

Tools/wasm/wasi-env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ export CFLAGS LDFLAGS
7171
export PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR
7272
export PATH
7373

74-
# no exec, it makes arvg[0] path absolute.
74+
# no exec, it makes argv[0] path absolute.
7575
"$@"

0 commit comments

Comments
 (0)