summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 15:06:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 15:06:07 +0000
commit389130c4015e14cbc5aa06bdfb8df142be1c0512 (patch)
tree5d9b726d5344aa2539a5807a6b9858f2b58574d6
parentabb5875a9f265b0817374368eab8595832526e94 (diff)
downloadmandoc-389130c4015e14cbc5aa06bdfb8df142be1c0512.tar.gz
Tagged version.
-rw-r--r--Makefile2
-rw-r--r--macro.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 692387e5..a0fc6a22 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = 1.1.0
+VERSION = 1.2.0
CFLAGS += -W -Wall -Wno-unused-parameter -g
diff --git a/macro.c b/macro.c
index f2febe0f..ee53ef7d 100644
--- a/macro.c
+++ b/macro.c
@@ -1213,8 +1213,7 @@ macro_end(struct mdoc *mdoc)
continue;
if ( ! (MDOC_EXPLICIT & mdoc_macros[n->tok].flags))
continue;
- mdoc_nerr(mdoc, n, "macro scope still open on exit");
- return(0);
+ return(mdoc_nerr(mdoc, n, "macro scope still open on exit"));
}
return(rewind_last(mdoc, mdoc->first));