diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 10:11:42 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 10:11:42 +0300 |
| commit | a963fd6f854d476ec838fbde7ae3c28cd4270c97 (patch) | |
| tree | 600ecaebfc57e9b9ea0ecc7f07cf7dfe8f78d141 /docs | |
| parent | 1c8c056ab7ce8c0ccd36ba0d954110789713204e (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
