-/* $Id: mandoc.c,v 1.25 2010/07/21 20:35:03 kristaps Exp $ */
+/* $Id: mandoc.c,v 1.27 2010/07/25 19:05:59 joerg Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
case ('\''):
term = '\'';
break;
+ case ('0'):
+ i++;
+ /* FALLTHROUGH */
default:
len = 1;
p--;
found = 1;
break;
default:
- return(found && (!enclosed || isalnum(*q)));
+ return(found && (!enclosed || isalnum((unsigned char)*q)));
}
}