diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-12 10:31:53 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-12 10:31:53 +0000 |
commit | 569c276460dfd948ab28a199826274e234cf815c (patch) | |
tree | 8942f866e4ed15b8efe1fd826e2fab985a867c60 /argv.c | |
parent | 66dcb58e3397f627b870f3d66d6d1460bbb1b052 (diff) | |
download | mandoc-569c276460dfd948ab28a199826274e234cf815c.tar.gz mandoc-569c276460dfd948ab28a199826274e234cf815c.tar.zst mandoc-569c276460dfd948ab28a199826274e234cf815c.zip |
*** empty log message ***
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)++; |