diff options
author | Norbert Preining <norbert@preining.info> | 2021-07-04 03:01:24 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-07-04 03:01:24 +0000 |
commit | 7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 (patch) | |
tree | 88edb7d1a1aed3183a1350202c898716b4ac59ce /macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/convert.c | |
parent | 03fa062b03ce2bb5385f8f30888f94d441fa5cb4 (diff) |
CTAN sync 202107040301
Diffstat (limited to 'macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/convert.c')
-rw-r--r-- | macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/convert.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/convert.c b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/convert.c index 7138df7ab3..b932855c27 100644 --- a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/convert.c +++ b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/convert.c @@ -211,11 +211,14 @@ convert_to_text (ELEMENT *e, int *superfluous_arg) ELEMENT *e1 = contents_child_by_index (e, i); if (e1->text.end > 0) ADD(e1->text.text); - else if (e1->cmd == CM_AT_SIGN) + else if (e1->cmd == CM_AT_SIGN + || e1->cmd == CM_atchar) ADD("@"); - else if (e1->cmd == CM_OPEN_BRACE) + else if (e1->cmd == CM_OPEN_BRACE + || e1->cmd == CM_lbracechar) ADD("{"); - else if (e1->cmd == CM_CLOSE_BRACE) + else if (e1->cmd == CM_CLOSE_BRACE + || e1->cmd == CM_rbracechar) ADD("}"); else *superfluous_arg = 1; |