version 1.13, 2009/06/16 19:45:51 |
version 1.15, 2009/07/06 09:21:24 |
|
|
|
|
#include "libmdoc.h" |
#include "libmdoc.h" |
|
|
/* FIXME: .Fl, .Ar, .Cd handling of `|'. */ |
|
|
|
enum mwarn { |
enum mwarn { |
WIGNE, |
WIGNE, |
WIMPBRK, |
WIMPBRK, |
Line 243 pwarn(struct mdoc *mdoc, int line, int pos, enum mwarn |
|
Line 241 pwarn(struct mdoc *mdoc, int line, int pos, enum mwarn |
|
break; |
break; |
} |
} |
assert(p); |
assert(p); |
return(mdoc_pwarn(mdoc, line, pos, WARN_SYNTAX, p)); |
return(mdoc_pwarn(mdoc, line, pos, p)); |
} |
} |
|
|
|
|
Line 288 swarn(struct mdoc *mdoc, enum mdoc_type type, |
|
Line 286 swarn(struct mdoc *mdoc, enum mdoc_type type, |
|
return(mdoc_perr(mdoc, line, pos, |
return(mdoc_perr(mdoc, line, pos, |
"%s scope breaks %s scope of %s", |
"%s scope breaks %s scope of %s", |
tt, t, n)); |
tt, t, n)); |
return(mdoc_pwarn(mdoc, line, pos, WARN_SYNTAX, |
return(mdoc_pwarn(mdoc, line, pos, |
"%s scope breaks %s scope of %s", |
"%s scope breaks %s scope of %s", |
tt, t, n)); |
tt, t, n)); |
} |
} |