c3d / db48x

RPL runtime for the DM42 calculator, in the spirit of HP48/49/50
http://48calc.org
GNU Lesser General Public License v3.0
113 stars 13 forks source link

The `cycle` test fails with wrong number on stack #1296

Closed c3d closed 1 week ago

c3d commented 3 weeks ago

The cycle test fails, but only when running after the catalog test, e.g. when running with -Tall.

c3d commented 3 weeks ago

The problem is apparently with the autocomplete insertion for history purpose, which now causes the Div key to be evaluated twice (once on the command line, once directly).

c3d commented 3 weeks ago

Fixed by not evaluating the command if we evaluate it as part of auto-insertion.