Skip to content

Commit

Permalink
Follow advance_parser() calls in comments (tokenparser.rs) (#41)
Browse files Browse the repository at this point in the history
Follow advance_parser() calls in comments (tokenparser.rs).
  • Loading branch information
v-jkegler authored Nov 4, 2024
1 parent b298c14 commit 6baaea4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parser/src/tokenparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6baaea4

Please sign in to comment.