5002
Bugfix in top-level prototype: commandline args were broken since commit 4266 last June. We still don't have automated tests for commandline args, but we'll add an example program that'll increase the odds of detecting issues there.
This commit is contained in:
parent
4a943d4ed3
commit
364b8f8875
|
@ -133,6 +133,7 @@ void run_main(int argc, char* argv[]) {
|
|||
Current_routine = main_routine;
|
||||
for (int i = 1; i < argc; ++i) {
|
||||
vector<double> arg;
|
||||
arg.push_back(/*alloc id*/0);
|
||||
arg.push_back(new_mu_text(argv[i]));
|
||||
assert(get(Memory, arg.back()) == 0);
|
||||
current_call().ingredient_atoms.push_back(arg);
|
||||
|
|
Loading…
Reference in New Issue