Change mi_parse_argv to a method

This changes mi_parse_argv to be a method of mi_parse.  This is just a
minor cleanup.
This commit is contained in:
Tom Tromey
2023-03-20 10:48:50 -06:00
parent 72654e04da
commit 7df1df795f
4 changed files with 9 additions and 10 deletions

View File

@@ -355,7 +355,7 @@ mi_command_py::invoke (struct mi_parse *parse) const
pymicmd_debug_printf ("this = %p, name = %s", this, name ());
mi_parse_argv (parse->args (), parse);
parse->parse_argv ();
if (parse->argv == nullptr)
error (_("Problem parsing arguments: %s %s"), parse->command,