summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-05-30 10:04:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-05-30 10:04:34 +0000
commitae2fb2c178cd9fd34e6784bad005fe87085410a3 (patch)
tree2469c7fc57b0043b9639f87ed3728573880e6dbd /usr.bin
parentb4c0f7637c798de02ac6726ed679830a38320ccd (diff)
No longer need to reduce line number by one.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/cmd-parse.y6
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;