mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
Merge pull request #8 from nineties/fix_c_free
Fix a bug: add missing next() to (free) in C version
This commit is contained in:
commit
5fb0a39783
1 changed files with 4 additions and 1 deletions
|
@ -207,6 +207,9 @@ defcode("(allocate)", allocate) {
|
||||||
push((cell) p);
|
push((cell) p);
|
||||||
next();
|
next();
|
||||||
}
|
}
|
||||||
defcode("(free)", free_) { free((void*) pop()); }
|
defcode("(free)", free_) {
|
||||||
|
free((void*) pop());
|
||||||
|
next();
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue