repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add return statement and todo
[mTask.git]
/
client
/
interpret.c
diff --git
a/client/interpret.c
b/client/interpret.c
index
92e58d1
..
0f65888
100644
(file)
--- a/
client/interpret.c
+++ b/
client/interpret.c
@@
-162,6
+162,10
@@
void run_task(struct task *t)
sp--;
break;
#endif
+ case BCRETURN: trace("Return");
+ pc = plen;
+ t = stack[sp-1];
+ break;
default:
trace("unrecognized");
die("Unrecognized command: %d", program[pc-1]);