diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-27 23:49:27 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-27 23:49:27 -0500 |
commit | 7b08dbbbe9a3dbe326a751497d27b9e187142eb8 (patch) | |
tree | 3aa146c3deb65f1e0a6bc8bf36664acad4357188 /builtins.c | |
parent | 609ff568843dae9d003153509aaa0080aea7a303 (diff) |
stable for calculator
Diffstat (limited to 'builtins.c')
-rw-r--r-- | builtins.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; } |