From 6baaea477706878e0b7dd2dcff8da0642df58260 Mon Sep 17 00:00:00 2001 From: v-jkegler Date: Mon, 4 Nov 2024 17:42:50 -0500 Subject: [PATCH] Follow advance_parser() calls in comments (tokenparser.rs) (#41) Follow advance_parser() calls in comments (tokenparser.rs). --- parser/src/tokenparser.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parser/src/tokenparser.rs b/parser/src/tokenparser.rs index 6f3bcc04..3802d570 100644 --- a/parser/src/tokenparser.rs +++ b/parser/src/tokenparser.rs @@ -258,6 +258,10 @@ impl TokenParser { self.error_message.clone() } + // advance_parser() is a top-level method in this file. + // This advance_parser() is called indirectly via the advance_parser() method + // of the llguidance LLInterpreter interface, + // // The result here *never* includes a mask. // It's either stop or an unconditional splice (possibly noop). pub fn advance_parser(&mut self, arg: StepArg) -> StepResult {