diff options
Diffstat (limited to 'argv.c')
-rw-r--r-- | argv.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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)++; |