Return to cmd-parse.y CVS log | Up to [local] / src / usr.bin / tmux |
version 1.40, 2021/08/21 18:39:07 | version 1.41, 2021/08/21 20:46:43 | ||
---|---|---|---|
|
|
||
return (cmdlist); | return (cmdlist); | ||
TAILQ_FOREACH(arg, &cmd->arguments, entry) { | TAILQ_FOREACH(arg, &cmd->arguments, entry) { | ||
values = xreallocarray(values, count + 1, sizeof *values); | values = xrecallocarray(values, count, count + 1, | ||
sizeof *values); | |||
switch (arg->type) { | switch (arg->type) { | ||
case CMD_PARSE_STRING: | case CMD_PARSE_STRING: | ||
values[count].type = ARGS_STRING; | values[count].type = ARGS_STRING; |