feat: introduce import type

Closes: #39
This commit is contained in:
2026-07-03 19:43:18 +02:00
parent a7ab214ce3
commit 575054b75a
3 changed files with 53 additions and 20 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ void executor::step() {
switch (instr) {
case instruction_t::NoOperation: break;
case instruction_t::PushB2I: {
push_thing({ intType, m_context->thing_alloc() })->get<int_t>() = frame.mod->byte(frame.position++);
push_thing({ intType, m_context, m_context->thing_alloc() })->get<int_t>() = frame.mod->byte(frame.position++);
} break;
case instruction_t::Drop: {
pop_thing();