diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 10:32:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 10:32:34 +0300 |
| commit | fc071785f821395cf213d760654abb4f115f119c (patch) | |
| tree | b659ff2b0fae17eefc2ffead861ebbca8b738d9c /docs | |
| parent | 03136db76ee7b60a3570f6c20c416ae9f53ec3ae (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')
0 files changed, 0 insertions, 0 deletions
