aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitbead94cfe183402e3e8fa446b08c15dc493f06ee (patch)
tree2b0d60a768e8068b8c2c065fd688a41d1167ddd2
parentf0dfeceaaa68dcadfd4a1f4d7bcf3bd956af09fa (diff)
downloadmandoc-bead94cfe183402e3e8fa446b08c15dc493f06ee.tar.gz
mandoc-bead94cfe183402e3e8fa446b08c15dc493f06ee.tar.zst
mandoc-bead94cfe183402e3e8fa446b08c15dc493f06ee.zip
Tagged version.
-rw-r--r--Makefile2
-rw-r--r--macro.c5
2 files changed, 3 insertions, 4 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 da90d73c..5245801f 100644
--- a/macro.c
+++ b/macro.c
@@ -1,4 +1,4 @@
-/* $Id: macro.c,v 1.45 2009/01/20 13:05:28 kristaps Exp $ */
+/* $Id: macro.c,v 1.46 2009/01/20 15:06:07 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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));