Showing the changes to src/exec/main.cpp (1 of 5 files). Show all
Unified · Split
| @@ -89,7 +89,9 @@ namespace · 88 unmodified lines | ||
| 89 | 89 | |
| 90 | 90 | // [TODO] Implement the UI context for the command |
| 91 | 91 | mp_base[1] = nullptr; |
| 92 | − mp_base[2] = args->get_allocation(); | |
| 92 | + | |
| 93 | + if (args != nullptr) | |
| 94 | + mp_base[2] = args->get_allocation(); | |
| 93 | 95 | |
| 94 | 96 | e.code_section = |
| 95 | 97 | { |
| @@ -170,4 +172,3 @@ int main(int argc, char* argv[]) · 74 unmodified lines | ||
| 170 | 172 | |
| 171 | 173 | return 0; |
| 172 | 174 | } |
| 173 | − | |