summaryrefslogtreecommitdiffstats
path: root/argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-12 10:31:53 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-12 10:31:53 +0000
commit062881c5bc9c7803c1b4caaca0d73dfd937f3445 (patch)
tree4eef2bacce9049ce36b7779756435cbc274a4dc9 /argv.c
parent9a5b4bcb2e33907e5840f6a576a7cac39f080343 (diff)
downloadmandoc-062881c5bc9c7803c1b4caaca0d73dfd937f3445.tar.gz
*** empty log message ***
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/argv.c b/argv.c
index c3c1e4dc..e70969b3 100644
--- a/argv.c
+++ b/argv.c
@@ -404,6 +404,9 @@ mdoc_argv(struct mdoc *mdoc, int line, int tok,
i = *pos;
argv = &buf[++(*pos)];
+ v->line = line;
+ v->pos = *pos;
+
while (buf[*pos] && ! isspace(buf[*pos]))
(*pos)++;