aboutsummaryrefslogtreecommitdiff
path: root/neb
diff options
context:
space:
mode:
authormryouse2022-07-29 20:04:52 +0000
committermryouse2022-07-29 20:04:52 +0000
commit85298ce8bf9ce54da5d0918c9267e59431acd3ee (patch)
treeebbbbb808a55ae228b1b9e13bce4c39a819e1c32 /neb
parent846a360468eb5d0511e86f238a48f3c26cb664a9 (diff)
for-count now uses _idx_ instead of idx
Diffstat (limited to 'neb')
-rw-r--r--neb/std/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neb/std/core.py b/neb/std/core.py
index 60c1161..984fa87 100644
--- a/neb/std/core.py
+++ b/neb/std/core.py
@@ -49,7 +49,7 @@ def interpretForCount(symbol, args, env, ns):
new_env = Environment(env)
ret = None
for idx in range(0, num.value):
- new_env.register("idx", Int(idx + 1))
+ new_env.register("_idx_", Int(idx + 1))
for arg in args[1:]:
ret = evaluate(arg, new_env, ns)
if ret is None: