summaryrefslogtreecommitdiff
path: root/docs/basic-arithmetic.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 10:32:34 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 10:32:34 +0300
commitfc071785f821395cf213d760654abb4f115f119c (patch)
treeb659ff2b0fae17eefc2ffead861ebbca8b738d9c /docs/basic-arithmetic.md
parent03136db76ee7b60a3570f6c20c416ae9f53ec3ae (diff)
rpn: replace fragile error message parsing with direct registry check
In handleOperator, replace strings.Contains(err.Error(), "unknown token") with a direct check against opRegistry.IsStandardOperator and opRegistry.IsHyperOperator. This is robust against future changes to error message text.
Diffstat (limited to 'docs/basic-arithmetic.md')
0 files changed, 0 insertions, 0 deletions