diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 00:46:13 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 00:46:13 -0700 |
commit | 6ace03638fa924156fa77733274ae646f8fa3dbe (patch) | |
tree | cc57c3aafc535bfca3884c624c5bf13025f69338 /cpp/020run | |
parent | 4e6d01d6aa5f8facc82a5c6ffcdbea32cb363c10 (diff) | |
download | mu-6ace03638fa924156fa77733274ae646f8fa3dbe.tar.gz |
1157
Diffstat (limited to 'cpp/020run')
-rw-r--r-- | cpp/020run | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/020run b/cpp/020run index a9afb460..b0ba3348 100644 --- a/cpp/020run +++ b/cpp/020run @@ -101,7 +101,7 @@ inline bool done(routine& rr) { :(before "End Commandline Parsing") if (argc > 1) { for (int i = 1; i < argc; ++i) { - load_and_transform(argv[i]); + load_permanently(argv[i]); } } @@ -118,7 +118,7 @@ if (!Run_tests) { } :(code) -void load_and_transform(string filename) { +void load_permanently(string filename) { ifstream fin(filename.c_str()); if (!fin) { raise << "no such file " << filename << '\n'; @@ -135,7 +135,7 @@ void load_and_transform(string filename) { //:: On startup, load everything in core.mu :(before "End Load Recipes") -load_and_transform("core.mu"); +load_permanently("core.mu"); :(code) // helper for tests |