version 1.53, 2019/04/28 15:03:29 |
version 1.56, 2019/05/01 11:34:20 |
Line 99 static const struct alias aliases[] = { |
|
Line 99 static const struct alias aliases[] = { |
|
{ "informaltable", NODE_TABLE }, |
{ "informaltable", NODE_TABLE }, |
{ "keycap", NODE_KEYSYM }, |
{ "keycap", NODE_KEYSYM }, |
{ "keycode", NODE_IGNORE }, |
{ "keycode", NODE_IGNORE }, |
|
{ "keycombo", NODE_IGNORE }, |
{ "mediaobject", NODE_BLOCKQUOTE }, |
{ "mediaobject", NODE_BLOCKQUOTE }, |
{ "orgname", NODE_IGNORE }, |
{ "orgname", NODE_IGNORE }, |
{ "othercredit", NODE_AUTHOR }, |
{ "othercredit", NODE_AUTHOR }, |
Line 129 static const struct alias aliases[] = { |
|
Line 130 static const struct alias aliases[] = { |
|
{ "trademark", NODE_IGNORE }, |
{ "trademark", NODE_IGNORE }, |
{ "ulink", NODE_LINK }, |
{ "ulink", NODE_LINK }, |
{ "userinput", NODE_LITERAL }, |
{ "userinput", NODE_LITERAL }, |
{ "year", NODE_IGNORE }, |
|
{ NULL, NODE_IGNORE } |
{ NULL, NODE_IGNORE } |
}; |
}; |
|
|
Line 361 pnode_closetext(struct parse *p, int check_last_word) |
|
Line 361 pnode_closetext(struct parse *p, int check_last_word) |
|
|
|
/* Move the last word into its own node, for use with .Pf. */ |
/* Move the last word into its own node, for use with .Pf. */ |
|
|
n = pnode_alloc(p->cur); |
n = pnode_alloc_text(p->cur, last_word); |
n->node = NODE_TEXT; |
|
n->flags |= NFLAG_SPC; |
n->flags |= NFLAG_SPC; |
n->b = xstrdup(last_word); |
|
} |
} |
|
|
static void |
static void |