Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Nov 15, 2024
1 parent 9b3439d commit a2611a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser/src/earley/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,8 @@ impl ParserState {
/// the number of Earley sets.
#[inline(always)]
pub fn num_rows(&self) -> usize {
/// The number of rows is taken, not from the physical Earley table,
/// but from the virtual Earley stack kept in the lexer state.
// The number of rows is taken, not from the physical Earley table,
// but from the virtual Earley stack kept in the lexer state.
self.lexer_state().row_idx as usize + 1
}

Expand Down

0 comments on commit a2611a2

Please sign in to comment.