diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 12:57:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 12:57:34 +0300 |
| commit | f1f6f18e4d49167c209f3ec74d1aed837b66282a (patch) | |
| tree | 9a6726ff411f8da38dbfdc967e50e30dfb001d18 /docs | |
| parent | 7982c0988db8b1d5756037ec3488fabd269f8504 (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
