Multiple typo fixes
* This is a patch from neovim PR: https://github.com/neovim/neovim/pull/13063
This commit is contained in:
parent
857a9ed07b
commit
000455ee79
3 changed files with 5 additions and 5 deletions
|
|
@ -203,7 +203,7 @@ static uint32_t ts_lexer__get_column(TSLexer *_self) {
|
|||
|
||||
// Is the lexer at a boundary between two disjoint included ranges of
|
||||
// source code? This is exposed as an API because some languages' external
|
||||
// scanners need to perform custom actions at these bounaries.
|
||||
// scanners need to perform custom actions at these boundaries.
|
||||
static bool ts_lexer__is_at_included_range_start(const TSLexer *_self) {
|
||||
const Lexer *self = (const Lexer *)_self;
|
||||
if (self->current_included_range_index < self->included_range_count) {
|
||||
|
|
|
|||
|
|
@ -1221,7 +1221,7 @@ static void ts_parser__recover(
|
|||
}
|
||||
}
|
||||
|
||||
// In the process of attemping to recover, some stack versions may have been created
|
||||
// In the process of attempting to recover, some stack versions may have been created
|
||||
// and subsequently halted. Remove those versions.
|
||||
for (unsigned i = previous_version_count; i < ts_stack_version_count(self->stack); i++) {
|
||||
if (!ts_stack_is_active(self->stack, i)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue