add multiple outputs

This commit is contained in:
2024-10-23 20:12:11 +02:00
parent 51f113804a
commit 39eb113385
3 changed files with 21 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ int main(int argc, char** argv) {
try {
auto output = ParseFile("test.asm");
OutputFile(output, "test.bin");
OutputFileBinary(output, "test.bin");
} catch (std::runtime_error& e) {
std::cerr << e.what() << std::endl;
return 1;