diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-30 12:58:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-30 12:58:21 +0000 |
commit | a9c60e19e39804deecac9dc666a4ccad62e76f9c (patch) | |
tree | ae996a3219ec80542e9c13415634f2d01d8f4a7c /roff.c | |
parent | 8f97288fed1c527774fb2fb7c78ed9a63895411f (diff) | |
download | mandoc-a9c60e19e39804deecac9dc666a4ccad62e76f9c.tar.gz mandoc-a9c60e19e39804deecac9dc666a4ccad62e76f9c.tar.zst mandoc-a9c60e19e39804deecac9dc666a4ccad62e76f9c.zip |
better name and wording for the last two non-generic errors
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |