diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-15 17:38:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-15 17:38:57 +0000 |
commit | 49aead8ab67de188578d52298d35707f7a62a695 (patch) | |
tree | 2a01361f65d5a4fb73dc96b290c5c0c664d2a12f /macro.c | |
parent | fbf268cbe56d069d49e3960a6a269662a47bbd79 (diff) | |
download | mandoc-49aead8ab67de188578d52298d35707f7a62a695.tar.gz |
Broken build (changing err/warn/msg function prototypes for clarity).
Diffstat (limited to 'macro.c')
-rw-r--r-- | macro.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |