]> git.cameronkatri.com Git - mandoc.git/blobdiff - roff.c
better name and wording for the last two non-generic errors
[mandoc.git] / roff.c
diff --git a/roff.c b/roff.c
index c257ad41791575aa2e8cb9517798127228b82401..a8f966470c9a15f950313dbcb18a3e7820cdaeda 100644 (file)
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/*     $Id: roff.c,v 1.221 2014/07/07 21:36:20 schwarze Exp $ */
+/*     $Id: roff.c,v 1.222 2014/07/30 12:58:21 schwarze Exp $ */
 /*
  * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -1758,7 +1758,7 @@ roff_it(ROFF_ARGS)
        len = strcspn(cp, " \t");
        cp[len] = '\0';
        if ((iv = mandoc_strntoi(cp, len, 10)) <= 0) {
-               mandoc_msg(MANDOCERR_NUMERIC, r->parse,
+               mandoc_msg(MANDOCERR_IT_NONUM, r->parse,
                    ln, ppos, *bufp + 1);
                return(ROFF_IGN);
        }