docs: remove duplicate the's
Signed-off-by: geekvest <cuimoman@sohu.com>
This commit is contained in:
parent
1dd35fe0e0
commit
b43e8ce902
4 changed files with 4 additions and 4 deletions
|
|
@ -306,7 +306,7 @@ impl<'a> ParseTableBuilder<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
// Having computed the the successor item sets for each symbol, add a new
|
||||
// Having computed the successor item sets for each symbol, add a new
|
||||
// parse state for each of these item sets, and add a corresponding Shift
|
||||
// action to this state.
|
||||
for (symbol, next_item_set) in terminal_successors {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ impl Expander {
|
|||
params: params.clone(),
|
||||
},
|
||||
|
||||
// For repetitions, introduce an auxiliary rule that contains the the
|
||||
// For repetitions, introduce an auxiliary rule that contains the
|
||||
// repeated content, but can also contain a recursive binary tree structure.
|
||||
Rule::Repeat(content) => {
|
||||
let inner_rule = self.expand_rule(content);
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ use std::collections::HashMap;
|
|||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
struct ProductionStepId {
|
||||
// A `None` value here means that the production itself was produced via inlining,
|
||||
// and is stored in the the builder's `productions` vector, as opposed to being
|
||||
// and is stored in the builder's `productions` vector, as opposed to being
|
||||
// stored in one of the grammar's variables.
|
||||
variable_index: Option<usize>,
|
||||
production_index: usize,
|
||||
|
|
|
|||
|
|
@ -1480,7 +1480,7 @@ static void ts_parser__handle_error(
|
|||
ts_stack_record_summary(self->stack, version, MAX_SUMMARY_DEPTH);
|
||||
|
||||
// Begin recovery with the current lookahead node, rather than waiting for the
|
||||
// next turn of the parse loop. This ensures that the tree accounts for the the
|
||||
// next turn of the parse loop. This ensures that the tree accounts for the
|
||||
// current lookahead token's "lookahead bytes" value, which describes how far
|
||||
// the lexer needed to look ahead beyond the content of the token in order to
|
||||
// recognize it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue