summaryrefslogtreecommitdiffstatshomepage
path: root/argv.c
diff options
context:
space:
mode:
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/argv.c b/argv.c
index 9629ba6e..9e884777 100644
--- a/argv.c
+++ b/argv.c
@@ -1,4 +1,4 @@
-/* $Id: argv.c,v 1.10 2009/01/09 15:07:04 kristaps Exp $ */
+/* $Id: argv.c,v 1.11 2009/01/12 10:31:53 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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)++;