Skip to content

Commit

Permalink
Comment in parser.rs (#22)
Browse files Browse the repository at this point in the history
Comment in parser.rs
  • Loading branch information
v-jkegler authored Oct 2, 2024
1 parent de32aa3 commit a3a94b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parser/src/earley/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1325,6 +1325,7 @@ impl ParserState {
);
}

// Add the working row to the parser state
let idx = self.num_rows();
let row = self.scratch.work_row(allowed_lexemes);
if self.rows.len() == 0 || self.rows.len() == idx {
Expand Down

0 comments on commit a3a94b4

Please sign in to comment.