From a3a94b4b4b70f866aa3678faae693b4d049dcd92 Mon Sep 17 00:00:00 2001 From: v-jkegler Date: Wed, 2 Oct 2024 12:41:54 -0400 Subject: [PATCH] Comment in parser.rs (#22) Comment in parser.rs --- parser/src/earley/parser.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/parser/src/earley/parser.rs b/parser/src/earley/parser.rs index 1e1e934b..9214360d 100644 --- a/parser/src/earley/parser.rs +++ b/parser/src/earley/parser.rs @@ -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 {