summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));