=================================================================== RCS file: /cvs/mandoc/roff.c,v retrieving revision 1.22 retrieving revision 1.24 diff -u -p -r1.22 -r1.24 --- mandoc/roff.c 2008/11/30 18:53:11 1.22 +++ mandoc/roff.c 2008/11/30 21:41:35 1.24 @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.22 2008/11/30 18:53:11 kristaps Exp $ */ +/* $Id: roff.c,v 1.24 2008/11/30 21:41:35 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -307,8 +307,11 @@ const char *const toknamesp[ROFF_MAX] = { "Ic", "In", "Li", "Nd", "Nm", "Op", "Ot", "Pa", "Rv", "St", "Va", "Vt", + /* LINTED */ "Xr", "\%A", "\%B", "\%D", + /* LINTED */ "\%I", "\%J", "\%N", "\%O", + /* LINTED */ "\%P", "\%R", "\%T", "\%V", "Ac", "Ao", "Aq", "At", "Bc", "Bf", "Bo", "Bq", @@ -671,7 +674,7 @@ static int rofffindtok(const char *buf) { char token[4]; - size_t i; + int i; for (i = 0; *buf && ! isspace(*buf) && i < 3; i++, buf++) token[i] = *buf; @@ -1030,6 +1033,7 @@ roff_layout(ROFFCALL_ARGS) assert(0 != i); i++; + /* LINTED */ while (argv[i]) if ( ! (*tree->cb.roffdata)(tree->arg, 0, argv[i++])) return(0); @@ -1148,6 +1152,7 @@ roff_text(ROFFCALL_ARGS) assert(0 != i); i++; + /* LINTED */ while (argv[i]) if ( ! (*tree->cb.roffdata)(tree->arg, 0, argv[i++])) return(0);