ref: 4ad70d6f51938b6e7e863c7212b1a827cb1c23ac
parent: e5df1353e317512f863fb22d04b2a46c594dd894
author: cancel <cancel@cancel.fm>
date: Sun Dec 2 08:51:38 EST 2018
Rename count to query
--- a/sim.c
+++ b/sim.c
@@ -306,7 +306,7 @@
_('M', 'm', modulo) \
_('O', 'o', offset) \
_('P', 'p', push) \
- _('Q', 'q', count) \
+ _('Q', 'q', query) \
_('R', 'r', random) \
_('T', 't', track) \
_('U', 'u', uturn) \
@@ -625,7 +625,7 @@
POKE(1, write_val_x[0], PEEK(0, 1));
END_PHASE
-BEGIN_DUAL_PHASE_0(count)
+BEGIN_DUAL_PHASE_0(query)
PSEUDO_DUAL;
BEGIN_DUAL_PORTS
PORT(0, -1, IN | HASTE);
@@ -647,7 +647,7 @@
}
}
END_PHASE
-BEGIN_DUAL_PHASE_1(count)
+BEGIN_DUAL_PHASE_1(query)
I32 len_data[1];
if (LOAD(len_data) && len_data[0] >= 1 && len_data[0] <= 17) {
Usz len = (Usz)len_data[0];