version 1.7, 2022/06/02 11:29:07 |
version 1.8, 2022/06/02 14:51:41 |
Line 127 roff_escape(const char *buf, const int ln, const int a |
|
Line 127 roff_escape(const char *buf, const int ln, const int a |
|
case '\0': |
case '\0': |
iendarg = --iend; |
iendarg = --iend; |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
|
case '.': |
case '\\': |
case '\\': |
default: |
default: |
iarg--; |
iarg--; |
Line 136 roff_escape(const char *buf, const int ln, const int a |
|
Line 137 roff_escape(const char *buf, const int ln, const int a |
|
case ' ': |
case ' ': |
case '\'': |
case '\'': |
case '-': |
case '-': |
case '.': |
|
case '0': |
case '0': |
case ':': |
case ':': |
case '_': |
case '_': |
|
|
err = MANDOCERR_ESC_UNSUPP; |
err = MANDOCERR_ESC_UNSUPP; |
break; |
break; |
case ESCAPE_UNDEF: |
case ESCAPE_UNDEF: |
if (buf[inam] == '\\') |
if (buf[inam] == '\\' || buf[inam] == '.') |
return rval; |
return rval; |
err = MANDOCERR_ESC_UNDEF; |
err = MANDOCERR_ESC_UNDEF; |
break; |
break; |