aboutsummaryrefslogtreecommitdiffstats
path: root/builtins.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtins.c')
-rw-r--r--builtins.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/builtins.c b/builtins.c
index 9c82b8d..309e1d8 100644
--- a/builtins.c
+++ b/builtins.c
@@ -94,13 +94,15 @@ int ifunc_do(interpreter *it)
int ifunc_while(interpreter *it)
{
- int c = igetarg_integer(it, 0);
+ //int c = igetarg_integer(it, 0);
ipop(it);
int nidx = (int)ipop(it);
- if (c != 0) {
+ //if (c != 0) {
//ipush(it, (void *)nidx);
it->lnidx = nidx - 1;
- }
+ //} else {
+ // c++;
+ //}
ipush(it, 0);
return 0;
}