Lines Matching refs:stesc

1239 	char		*stesc;	/* start of an escape sequence ('\\') */  in roff_parse_comment()  local
1243 for (start = stesc = buf->buf + pos;; stesc++) { in roff_parse_comment()
1249 if (stesc[0] == '\n') { in roff_parse_comment()
1250 assert(stesc[1] == '\0'); in roff_parse_comment()
1251 stesc[0] = '\0'; in roff_parse_comment()
1255 if (stesc[0] == '\0') in roff_parse_comment()
1259 if (stesc[0] != ec) in roff_parse_comment()
1267 if (stesc[1] == '\n') { in roff_parse_comment()
1268 assert(stesc[2] == '\0'); in roff_parse_comment()
1269 stesc[0] = '\0'; in roff_parse_comment()
1277 if (stesc[1] == '\0') { in roff_parse_comment()
1278 stesc[0] = '\0'; in roff_parse_comment()
1283 if (stesc[1] == '"' || stesc[1] == '#') in roff_parse_comment()
1287 if (stesc[1] == ec) in roff_parse_comment()
1288 stesc++; in roff_parse_comment()
1294 if ((cp = strstr(stesc + 2, "$" "OpenBSD")) != NULL) { in roff_parse_comment()
1297 } else if ((cp = strstr(stesc + 2, "$" "NetBSD")) != NULL) { in roff_parse_comment()
1305 (int)(stesc - buf->buf) + 2, "%s", stesc + 1); in roff_parse_comment()
1311 ep = strchr(stesc + 2, '\0') - 1; in roff_parse_comment()
1324 n = roff_node_alloc(r->man, ln, stesc + 1 - buf->buf, in roff_parse_comment()
1326 n->string = mandoc_strdup(stesc + 2); in roff_parse_comment()
1334 if (stesc[1] == '#') { in roff_parse_comment()
1335 *stesc = '\0'; in roff_parse_comment()
1341 while (stesc > start && stesc[-1] == ' ' && in roff_parse_comment()
1342 (stesc == start + 1 || stesc[-2] != '\\')) in roff_parse_comment()
1343 stesc--; in roff_parse_comment()
1344 *stesc = '\0'; in roff_parse_comment()