aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-30 13:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-30 13:02:26 +0100
commit2df757521afb057129070d3b04226730e3b7b45e (patch)
tree7ab72d16b359cc2e8400becd57a2f0ae9acd4d00
parent82b25a9d6280d162db26af2a7c6710f0b9159d60 (diff)
parent8fb796b5b3fbd7ff430d1b6ad2a49f97feea8f3c (diff)
downloadrtmux-2df757521afb057129070d3b04226730e3b7b45e.tar.gz
rtmux-2df757521afb057129070d3b04226730e3b7b45e.tar.bz2
rtmux-2df757521afb057129070d3b04226730e3b7b45e.zip
Merge branch 'obsd-master'
-rw-r--r--cmd-parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-parse.y b/cmd-parse.y
index a623caa5..d5d12d95 100644
--- a/cmd-parse.y
+++ b/cmd-parse.y
@@ -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;