summaryrefslogtreecommitdiffstats
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-15 17:38:57 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-15 17:38:57 +0000
commit49aead8ab67de188578d52298d35707f7a62a695 (patch)
tree2a01361f65d5a4fb73dc96b290c5c0c664d2a12f /macro.c
parentfbf268cbe56d069d49e3960a6a269662a47bbd79 (diff)
downloadmandoc-49aead8ab67de188578d52298d35707f7a62a695.tar.gz
Broken build (changing err/warn/msg function prototypes for clarity).
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macro.c b/macro.c
index 51de7ddd..83547260 100644
--- a/macro.c
+++ b/macro.c
@@ -355,7 +355,7 @@ rewind_subblock(enum mdoc_type type, struct mdoc *mdoc, int tok)
break;
else if (rewind_dobreak(tok, type, n))
continue;
- return(mdoc_verr(mdoc, n, ERR_SCOPE_BREAK));
+ return(mdoc_nerr(mdoc, n, "body scope broken"));
}
assert(n);
@@ -384,7 +384,7 @@ rewind_expblock(struct mdoc *mdoc, int tok)
break;
else if (rewind_dobreak(tok, MDOC_BLOCK, n))
continue;
- return(mdoc_verr(mdoc, n, ERR_SCOPE_BREAK));
+ return(mdoc_nerr(mdoc, n, "macro scope broken"));
}
assert(n);
@@ -414,7 +414,7 @@ rewind_impblock(struct mdoc *mdoc, int tok)
break;
else if (rewind_dobreak(tok, MDOC_BLOCK, n))
continue;
- return(mdoc_verr(mdoc, n, ERR_SCOPE_BREAK));
+ return(mdoc_nerr(mdoc, n, "macro scope broken"));
}
assert(n);