summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 10:11:42 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 10:11:42 +0300
commita963fd6f854d476ec838fbde7ae3c28cd4270c97 (patch)
tree600ecaebfc57e9b9ea0ecc7f07cf7dfe8f78d141 /docs
parent1c8c056ab7ce8c0ccd36ba0d954110789713204e (diff)
refactor(rpn): have ResultStack reuse pushLiteral
ResultStack reimplemented boolean and number parsing that already existed in pushLiteral. This duplication also meant it missed metric-suffixed numbers (e.g. 100Mbps) and @metric prefixes (e.g. @GB). Replace the duplicated logic with a call to pushLiteral, which handles booleans, plain numbers, metric-suffixed numbers, and @metric prefixes in one place.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions