Reduce repeated macro tracing and input position work

This commit is contained in:
gloamxun committed 2026-11-21 10:54:11 +08:00
1 parent 70822cbd94
commit b681f9791a
5 files changed
+64 -29

No files matched your search

@@ -148,9 +148,9 @@ impl Executor {
self.inputs.pop();
self.restore_input_position();
}
// Only a source frame changes the current physical line.
Next::Token(None) => {
self.inputs.pop();
self.restore_input_position();
}
Next::Argument(tokens, call) => {
if !tokens.is_empty() {