Skip to content

Commit

Permalink
chore: fix some typos in comments (#3728)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuibuwei committed Apr 13, 2024
1 parent 44e7469 commit 70893e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/css_parser/css_decls_list_style.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// <gradient>: <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>
//
// list-style-type: <counter-style> | <string> | none (where the string is a literal bullet marker)
// <counter-style>: <counter-style-name> | <symnols()>
// <counter-style>: <counter-style-name> | <symbols()>
// <counter-style-name>: not: decimal | disc | square | circle | disclosure-open | disclosure-closed | <wide keyword>
// when parsing a <custom-ident> with conflicts, only parse one if no other thing can claim it

Expand Down
2 changes: 1 addition & 1 deletion internal/js_parser/js_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ func (p *parser) pushScopeForParsePass(kind js_ast.ScopeKind, loc logger.Loc) in
p.currentScope = scope

// Enforce that scope locations are strictly increasing to help catch bugs
// where the pushed scopes are mistmatched between the first and second passes
// where the pushed scopes are mismatched between the first and second passes
if len(p.scopesInOrder) > 0 {
prevStart := p.scopesInOrder[len(p.scopesInOrder)-1].loc.Start
if prevStart >= loc.Start {
Expand Down

0 comments on commit 70893e4

Please sign in to comment.