=================================================================== RCS file: /cvs/mandoc/mdoc_macro.c,v retrieving revision 1.13 retrieving revision 1.15 diff -u -p -r1.13 -r1.15 --- mandoc/mdoc_macro.c 2009/06/16 19:45:51 1.13 +++ mandoc/mdoc_macro.c 2009/07/06 09:21:24 1.15 @@ -1,4 +1,4 @@ -/* $Id: mdoc_macro.c,v 1.13 2009/06/16 19:45:51 kristaps Exp $ */ +/* $Id: mdoc_macro.c,v 1.15 2009/07/06 09:21:24 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -22,8 +22,6 @@ #include "libmdoc.h" -/* FIXME: .Fl, .Ar, .Cd handling of `|'. */ - enum mwarn { WIGNE, WIMPBRK, @@ -243,7 +241,7 @@ pwarn(struct mdoc *mdoc, int line, int pos, enum mwarn break; } assert(p); - return(mdoc_pwarn(mdoc, line, pos, WARN_SYNTAX, p)); + return(mdoc_pwarn(mdoc, line, pos, p)); } @@ -288,7 +286,7 @@ swarn(struct mdoc *mdoc, enum mdoc_type type, return(mdoc_perr(mdoc, line, pos, "%s scope breaks %s scope of %s", tt, t, n)); - return(mdoc_pwarn(mdoc, line, pos, WARN_SYNTAX, + return(mdoc_pwarn(mdoc, line, pos, "%s scope breaks %s scope of %s", tt, t, n)); }