Skip to content

Commit 5631013

Browse files
authored
Fix typos in comments (#94305)
1 parent c485ec0 commit 5631013

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Mac/BuildScript/build-installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def internalTk():
203203

204204
# Do we use 8.6.8 when building our own copy
205205
# of Tcl/Tk or a modern version.
206-
# We use the old version when buildin on
206+
# We use the old version when building on
207207
# old versions of macOS due to build issues.
208208
def useOldTk():
209209
return getBuildTuple() < (10, 15)

Tools/c-analyzer/c_parser/parser/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
+ (stmt) case: between expression and stmt
4343
+ (stmt) default: between "default" and stmt
4444
* "="
45-
+ (decl) delaration: between decl and initializer
45+
+ (decl) declaration: between decl and initializer
4646
+ (decl) enumerator: between identifier and "initializer"
4747
+ (expr) assignment: between "var" and expr
4848
@@ -92,7 +92,7 @@
9292
* no "inline" type decls in function return types
9393
* no superfluous parentheses in declarators
9494
* var decls in for loops are always "simple" (e.g. no inline types)
95-
* only inline struct/union/enum decls may be anonymouns (without a name)
95+
* only inline struct/union/enum decls may be anonymous (without a name)
9696
* no function pointers in function pointer parameters
9797
* for loop "headers" do not have curly braces (e.g. compound init)
9898
* syntactically, variable decls do not overlap with stmts/exprs, except

0 commit comments

Comments
 (0)