Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Apr 15, 2024
1 parent 589b298 commit d376f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acorn/src/regexp.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ pp.regexp_alternative = function(state) {
state.groupNamesToAddToUpperScope.push(groupName)
}
}
// Reverts the groupNames so that the next adjacent Alt does not report duplicates.
// Reverts the groupNames so that the next adjacent Alternative does not report duplicates.
state.groupNames = upperGroupNames
}
}
Expand Down

0 comments on commit d376f70

Please sign in to comment.