headings-single.patch 972 B

123456789101112131415161718192021222324
  1. commit 13a8894fe2faa45b04033d7122a8fe7939ce6aa2
  2. Author: Gavin Smith <gavinsmith0123@gmail.com>
  3. Date: Thu Sep 16 19:06:28 2021 +0100
  4. * tp/Texinfo/XS/parsetexi/end_line.c (parse_line_command_args)
  5. <@headings>: Add missing option value 'single'. Report from
  6. Sergei Trofimovich <slyich@gmail.com>.
  7. diff --git a/tp/Texinfo/XS/parsetexi/end_line.c b/tp/Texinfo/XS/parsetexi/end_line.c
  8. index a5bd0ce52a..c973cc1230 100644
  9. --- a/tp/Texinfo/XS/parsetexi/end_line.c
  10. +++ b/tp/Texinfo/XS/parsetexi/end_line.c
  11. @@ -778,8 +778,8 @@ kdbinputstyle_invalid:
  12. case CM_headings:
  13. {
  14. if (!strcmp (line, "off") || !strcmp (line, "on")
  15. - || !strcmp (line, "double") || !strcmp (line, "singleafter")
  16. - || !strcmp (line, "doubleafter"))
  17. + || !strcmp (line, "single") || !strcmp (line, "double")
  18. + || !strcmp (line, "singleafter") || !strcmp (line, "doubleafter"))
  19. {
  20. ADD_ARG(line);
  21. }