summaryrefslogtreecommitdiffstats
path: root/argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 13:44:05 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 13:44:05 +0000
commit50f9604d3b055e8ec8c5617c792e62d6e01219a3 (patch)
tree39fcd3980a3ce1ed22e07f3f0b0d813f92061772 /argv.c
parentffd36f32dbbe968941923914f7f8630c797a1206 (diff)
downloadmandoc-50f9604d3b055e8ec8c5617c792e62d6e01219a3.tar.gz
Re-merged old port-building routines.
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/argv.c b/argv.c
index bd050efb..b9fbb11d 100644
--- a/argv.c
+++ b/argv.c
@@ -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,