Skip to content

Commit

Permalink
Update parser/src/earley/lexerspec.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal authored Oct 21, 2024
1 parent b879e3f commit 0150200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parser/src/earley/lexerspec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ impl LexemeIdx {
// SKIP is a pseudo-lexeme, a "no-op" which it is sometimes
// convenient to insert in the lexeme stream. As the name
// suggests, it is skipped in parsing.
// It is typically used for skipping whitespace.
pub const SKIP: LexemeIdx = LexemeIdx(0);

pub fn new(idx: usize) -> Self {
Expand Down

0 comments on commit 0150200

Please sign in to comment.