This commit is contained in:
Benji Dial 2023-05-30 18:07:37 -04:00
parent caceb8b8b0
commit c385d95d49

View file

@ -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';