summaryrefslogtreecommitdiff
path: root/score/main.cpp
diff options
context:
space:
mode:
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';