Lines Matching defs:nn
422 const struct roff_node *np, *nn;
426 nn = mdoc->last->next;
460 nn != NULL &&
461 nn->type == ROFFT_TEXT &&
462 isalpha((unsigned char)*nn->string))) {
1363 struct roff_node *nn;
1376 nn = mdoc->last;
1377 switch (nn->tok) {
1380 roff_word_alloc(mdoc, nn->line, nn->pos, "file");
1382 roff_word_alloc(mdoc, nn->line, nn->pos, "...");
1388 roff_word_alloc(mdoc, nn->line, nn->pos, "~");
1394 mdoc->last = nn;
2530 struct roff_node *nn, *n;
2560 nn = n->child;
2561 if (nn == NULL || *nn->string == '\0') {
2565 mdoc->meta.title = mandoc_strdup(nn->string);
2569 for (p = nn->string; *p != '\0'; p++)
2571 mandoc_msg(MANDOCERR_TITLE_CASE, nn->line,
2572 nn->pos + (int)(p - nn->string),
2573 "Dt %s", nn->string);
2580 if (nn != NULL)
2581 nn = nn->next;
2583 if (nn == NULL) {
2590 mdoc->meta.msec = mandoc_strdup(nn->string);
2594 cp = mandoc_a2msec(nn->string);
2597 nn->line, nn->pos, "Dt ... %s", nn->string);
2598 mdoc->meta.vol = mandoc_strdup(nn->string);
2604 if ((nn = nn->next) == NULL)
2607 for (p = nn->string; *p != '\0'; p++)
2609 mdoc->meta.arch = mandoc_strdup(nn->string);
2613 if ((nn = nn->next) != NULL)
2615 nn->line, nn->pos, "Dt ... %s", nn->string);