Fix crash in mdb help command.

trace/mercury_trace_help.c:
    Fix swapped arguments in call to ML_HELP_print_top_level_help_nodes.
    This bug was introduced in commit a06ae2c6ef
This commit is contained in:
Peter Wang
2020-10-02 13:07:45 +10:00
parent 97bf7cf9a8
commit 1237e8c68a

View File

@@ -119,8 +119,8 @@ MR_trace_help(void)
MR_c_file_to_mercury_file(MR_mdb_out, &mdb_out);
MR_TRACE_CALL_MERCURY(
ML_HELP_print_top_level_help_nodes(MR_trace_help_system,
MR_wrap_output_stream(&mdb_out));
ML_HELP_print_top_level_help_nodes(MR_wrap_output_stream(&mdb_out),
MR_trace_help_system);
);
}