parser: bugfix: initialize match when parsing new command
This commit is contained in:
@ -71,6 +71,7 @@ char *parse_cmd(const char *new) {
|
||||
|
||||
cmdyy_scan_string(new);
|
||||
|
||||
match_init(¤t_match);
|
||||
context = scalloc(sizeof(struct context));
|
||||
context->filename = "cmd";
|
||||
FREE(json_output);
|
||||
|
Reference in New Issue
Block a user