diff options
author | 2019-05-30 10:04:33 +0000 | |
---|---|---|
committer | 2019-05-30 10:04:33 +0000 | |
commit | 1ab16754d923a7c86f70088ec10954d219b52681 (patch) | |
tree | 937aae7d0f1051e4119f6e5be10977707e2feb69 | |
parent | php5 -> php, php5 has left the ports tree. (diff) | |
download | wireguard-openbsd-1ab16754d923a7c86f70088ec10954d219b52681.tar.xz wireguard-openbsd-1ab16754d923a7c86f70088ec10954d219b52681.zip |
No longer need to reduce line number by one.
-rw-r--r-- | usr.bin/tmux/cmd-parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-parse.y b/usr.bin/tmux/cmd-parse.y index b7b0eccd23d..e3cd88ac72d 100644 --- a/usr.bin/tmux/cmd-parse.y +++ b/usr.bin/tmux/cmd-parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-parse.y,v 1.9 2019/05/29 20:05:14 nicm Exp $ */ +/* $OpenBSD: cmd-parse.y,v 1.10 2019/05/30 10:04:33 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -361,7 +361,7 @@ command : assignment TOKEN $$ = xcalloc(1, sizeof *$$); $$->name = $2; - $$->line = ps->input->line - 1; + $$->line = ps->input->line; } | assignment TOKEN arguments @@ -370,7 +370,7 @@ command : assignment TOKEN $$ = xcalloc(1, sizeof *$$); $$->name = $2; - $$->line = ps->input->line - 1; + $$->line = ps->input->line; $$->argc = $3.argc; $$->argv = $3.argv; |