History

Implement second level of fixed point op-codes. Fix bug in exec when no arguments provided.

arr committed 10 years ago

Commit 9af40931 parent a9ef3115 files · +137 −29Browse files

Showing the changes to src/exec/main.cpp (1 of 5 files). Show all

Unified · Split

src/exec/main.cpp+3−2
@@ -89,7 +89,9 @@ namespace · 88 unmodified lines
8989
9090 // [TODO] Implement the UI context for the command
9191 mp_base[1] = nullptr;
92− mp_base[2] = args->get_allocation();
92+
93+ if (args != nullptr)
94+ mp_base[2] = args->get_allocation();
9395
9496 e.code_section =
9597 {
@@ -170,4 +172,3 @@ int main(int argc, char* argv[]) · 74 unmodified lines
170172
171173 return 0;
172174 }
173−