No longer need to reduce line number by one.

pull/1768/head
nicm 2019-05-30 10:04:33 +00:00
parent 89d2c7eb26
commit 8fb796b5b3
1 changed files with 2 additions and 2 deletions

View File

@ -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;