mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
No longer need to reduce line number by one.
This commit is contained in:
parent
75d112c484
commit
e4eec92852
@ -361,7 +361,7 @@ command : assignment TOKEN
|
|||||||
|
|
||||||
$$ = xcalloc(1, sizeof *$$);
|
$$ = xcalloc(1, sizeof *$$);
|
||||||
$$->name = $2;
|
$$->name = $2;
|
||||||
$$->line = ps->input->line - 1;
|
$$->line = ps->input->line;
|
||||||
|
|
||||||
}
|
}
|
||||||
| assignment TOKEN arguments
|
| assignment TOKEN arguments
|
||||||
@ -370,7 +370,7 @@ command : assignment TOKEN
|
|||||||
|
|
||||||
$$ = xcalloc(1, sizeof *$$);
|
$$ = xcalloc(1, sizeof *$$);
|
||||||
$$->name = $2;
|
$$->name = $2;
|
||||||
$$->line = ps->input->line - 1;
|
$$->line = ps->input->line;
|
||||||
|
|
||||||
$$->argc = $3.argc;
|
$$->argc = $3.argc;
|
||||||
$$->argv = $3.argv;
|
$$->argv = $3.argv;
|
||||||
|
Loading…
Reference in New Issue
Block a user