We declared some functions that were never implemented. Implement them.
This commit is contained in:
parent
c32c5cf5ea
commit
87581e09cb
3 changed files with 10 additions and 1 deletions
|
|
@ -21,6 +21,10 @@ static const HParserVtable indirect_vt = {
|
|||
.compile_to_rvm = h_not_regular,
|
||||
};
|
||||
|
||||
void h_bind_indirect__m(HAllocator *mm__, HParser* indirect, const HParser* inner) {
|
||||
h_bind_indirect(indirect, inner);
|
||||
}
|
||||
|
||||
void h_bind_indirect(HParser* indirect, const HParser* inner) {
|
||||
assert_message(indirect->vtable == &indirect_vt, "You can only bind an indirect parser");
|
||||
indirect->env = (void*)inner;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue