summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 12:57:34 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 12:57:34 +0300
commitf1f6f18e4d49167c209f3ec74d1aed837b66282a (patch)
tree9a6726ff411f8da38dbfdc967e50e30dfb001d18 /docs
parent7982c0988db8b1d5756037ec3488fabd269f8504 (diff)
repl: consolidate single-token handling in RPNHandler
Merge three identical single-token blocks (operator, number, symbol) into one block with conditional checks. Eliminates redundant strings.Fields calls and len(fields)==1 checks. The 'rat' command early-return is not redundant — it correctly short-circuits before ExecuteCommand is reached.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions