diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-20 13:44:05 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-20 13:44:05 +0000 |
commit | f0efcfb7750a1c0ab3108c5a759de5c050166035 (patch) | |
tree | 42c4f3dfff406eb906a633e4b8588959e74dd9ae /argv.c | |
parent | d7fbb7d096f24634fd2aa0c5146e6fbf55acb09e (diff) | |
download | mandoc-f0efcfb7750a1c0ab3108c5a759de5c050166035.tar.gz mandoc-f0efcfb7750a1c0ab3108c5a759de5c050166035.tar.zst mandoc-f0efcfb7750a1c0ab3108c5a759de5c050166035.zip |
Re-merged old port-building routines.
Diffstat (limited to 'argv.c')
-rw-r--r-- | argv.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: argv.c,v 1.19 2009/01/20 13:05:28 kristaps Exp $ */ +/* $Id: argv.c,v 1.20 2009/01/20 13:44:05 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -25,9 +25,14 @@ #include "private.h" +/* + * Parse arguments and parameters of macros. Arguments follow the + * syntax of `-arg [val [valN...]]', while parameters are free-form text + * following arguments (if any). This file must correctly handle the + * strange punctuation rules dictated by groff. + */ + /* FIXME: .It called with -column and quoted arguments. */ -/* FIXME: if arguments are quoted, they should not be later parsed for - * macros. */ static int lookup(int, const char *); static int parse(struct mdoc *, int, |