summaryrefslogtreecommitdiff
path: root/score/main.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-30 18:07:37 -0400
committerBenji Dial <benji@benjidial.net>2023-05-30 18:07:37 -0400
commitc385d95d49824d496fbab9e3e47255fddbdc8082 (patch)
tree3c03cca1ec0e5c9c60ca3116c93695a00b939636 /score/main.cpp
parentcaceb8b8b03e950a6f543650d0478c1f84b1cc71 (diff)
downloadlib94-c385d95d49824d496fbab9e3e47255fddbdc8082.tar.gz
oops
Diffstat (limited to 'score/main.cpp')
-rw-r--r--score/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/score/main.cpp b/score/main.cpp
index 85a889b..fa646d0 100644
--- a/score/main.cpp
+++ b/score/main.cpp
@@ -54,7 +54,7 @@ int main(int argc, const char **argv) {
}
try {
- w2 = lib94::compile_warrior(source1);
+ w2 = lib94::compile_warrior(source2);
}
catch (const lib94::compiler_exception &ex) {
std::cout << "error in " << argv[2] << " on line " << ex.line_number << ": " << ex.message << '\n';