aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-13 11:43:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-13 11:43:24 +0000
commit1027567a5466c0202f71a6dedc0cefa0a4f1382c (patch)
tree40b48dff732a1907f0738f6032215a02d249757f /mdoc_macro.c
parent66aea3d3165da466055fb119f0473eff16715bf9 (diff)
downloadmandoc-1027567a5466c0202f71a6dedc0cefa0a4f1382c.tar.gz
mandoc-1027567a5466c0202f71a6dedc0cefa0a4f1382c.tar.zst
mandoc-1027567a5466c0202f71a6dedc0cefa0a4f1382c.zip
Noted areas that need work in libmdoc.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index 3c5cddd2..0d08438d 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_macro.c,v 1.29 2009/07/29 08:52:24 kristaps Exp $ */
+/* $Id: mdoc_macro.c,v 1.30 2009/08/13 11:43:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -45,7 +45,7 @@ static int rew_impblock(struct mdoc *, int, int, int);
static int rew_expblock(struct mdoc *, int, int, int);
static int rew_subblock(enum mdoc_type,
struct mdoc *, int, int, int);
-static int rew_last(struct mdoc *, struct mdoc_node *);
+static int rew_last(struct mdoc *, struct mdoc_node *); /* FIXME: make const */
static int append_delims(struct mdoc *, int, int *, char *);
static int lookup(struct mdoc *, int, const char *);
static int lookup_raw(struct mdoc *, const char *);
@@ -599,6 +599,7 @@ rew_expblock(struct mdoc *mdoc, int tok, int line, int ppos)
}
+/* FIXME: can this be merged with subblock? */
static int
rew_impblock(struct mdoc *mdoc, int tok, int line, int ppos)
{