executable dumps were always written to stdout. Now they can be written to any stream
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ static _Bool disassemble(Source *src)
|
||||
{
|
||||
Executable *exe = compile_source_and_print_error_on_failure(src);
|
||||
if(exe == NULL) return 0;
|
||||
Executable_Dump(exe);
|
||||
Executable_Dump(exe, stdout);
|
||||
Executable_Free(exe);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user