Fix typos in comments (#94305)

This commit is contained in:
yutotnh 2022-06-28 23:28:21 +09:00 committed by GitHub
parent c485ec014c
commit 5631013617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -42,7 +42,7 @@ separators:
+ (stmt) case: between expression and stmt + (stmt) case: between expression and stmt
+ (stmt) default: between "default" and stmt + (stmt) default: between "default" and stmt
* "=" * "="
+ (decl) delaration: between decl and initializer + (decl) declaration: between decl and initializer
+ (decl) enumerator: between identifier and "initializer" + (decl) enumerator: between identifier and "initializer"
+ (expr) assignment: between "var" and expr + (expr) assignment: between "var" and expr
@ -92,7 +92,7 @@ Here are the cases where we've taken shortcuts or made assumptions:
* no "inline" type decls in function return types * no "inline" type decls in function return types
* no superfluous parentheses in declarators * no superfluous parentheses in declarators
* var decls in for loops are always "simple" (e.g. no inline types) * var decls in for loops are always "simple" (e.g. no inline types)
* only inline struct/union/enum decls may be anonymouns (without a name) * only inline struct/union/enum decls may be anonymous (without a name)
* no function pointers in function pointer parameters * no function pointers in function pointer parameters
* for loop "headers" do not have curly braces (e.g. compound init) * for loop "headers" do not have curly braces (e.g. compound init)
* syntactically, variable decls do not overlap with stmts/exprs, except * syntactically, variable decls do not overlap with stmts/exprs, except