mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +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);
|
||||
next();
|
||||
}
|
||||
defcode("(free)", free_) { free((void*) pop()); }
|
||||
defcode("(free)", free_) {
|
||||
free((void*) pop());
|
||||
next();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue