-
- default:
- *d = DECO_RESERVED;
- *sz = 1;
- *word = wp;
- return(2);
- }
- break;
-
-#if 0
- case ('s'):
- wp++;
-
- /* This closely follows mandoc_special(). */
- if ('\0' == *wp)
- return(1);
-
- t = 0;
- lim = 1;
-
- if (*wp == '\'') {
- lim = 0;
- t = 1;
- ++wp;
- } else if (*wp == '[') {
- lim = 0;
- t = 2;
- ++wp;
- } else if (*wp == '(') {
- lim = 2;
- t = 3;
- ++wp;
- }
-
- if (*wp == '+' || *wp == '-')
- ++wp;
-
- if (*wp == '\'') {
- if (t) {
- *word = wp;
- return;
- }
- lim = 0;
- t = 1;
- ++wp;
- } else if (*wp == '[') {
- if (t) {
- *word = wp;
- return;
- }
- lim = 0;
- t = 2;
- ++wp;
- } else if (*wp == '(') {
- if (t) {
- *word = wp;
- return;
- }
- lim = 2;
- t = 3;
- ++wp;
- }
-
- if ( ! isdigit((u_char)*wp)) {
- *word = --wp;
- return;
- }
-
- for (j = 0; isdigit((u_char)*wp); j++) {
- if (lim && j >= lim)
- break;
- ++wp;
- }
-
- if (t && t < 3) {
- if (1 == t && *wp != '\'') {
- *word = --wp;
- return;
- }
- if (2 == t && *wp != ']') {
- *word = --wp;
- return;
- }
- ++wp;
- }
- *word = --wp;
- return;
-#endif
-
- case ('f'):
- wp++;
-
- switch (*wp) {
- case ('\0'):
- return(1);