[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/handle_commands.c (pars
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/handle_commands.c (parse_rawline_command): go to unmacro_badname when there is trailing garbage on @unmacro line, not to the @clear similar label. |
Date: |
Fri, 11 Oct 2024 04:56:51 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 510d000467 * tp/Texinfo/XS/parsetexi/handle_commands.c
(parse_rawline_command): go to unmacro_badname when there is trailing garbage
on @unmacro line, not to the @clear similar label.
510d000467 is described below
commit 510d000467fa7345cbdf59aba8ff929cd141e64c
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 11 10:56:41 2024 +0200
* tp/Texinfo/XS/parsetexi/handle_commands.c (parse_rawline_command):
go to unmacro_badname when there is trailing garbage on @unmacro line,
not to the @clear similar label.
---
ChangeLog | 6 ++++++
tp/Texinfo/XS/parsetexi/handle_commands.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 722e404dc5..81fce10b40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-11-10 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/parsetexi/handle_commands.c (parse_rawline_command):
+ go to unmacro_badname when there is trailing garbage on @unmacro line,
+ not to the @clear similar label.
+
2024-11-10 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/convert_to_text.c (convert_to_text_internal): fix
diff --git a/tp/Texinfo/XS/parsetexi/handle_commands.c
b/tp/Texinfo/XS/parsetexi/handle_commands.c
index 29f0bc4f25..707d896eb0 100644
--- a/tp/Texinfo/XS/parsetexi/handle_commands.c
+++ b/tp/Texinfo/XS/parsetexi/handle_commands.c
@@ -286,7 +286,7 @@ parse_rawline_command (const char *line, enum command_id
cmd,
goto unmacro_badname;
r = skip_to_comment_if_comment_or_spaces (q, has_comment);
if (!r || r != q)
- goto clear_invalid; /* Trailing argument. */
+ goto unmacro_badname; /* Trailing argument. */
delete_macro (value);
ADD_ARG(value, q - p);
debug ("UNMACRO %s", value);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/handle_commands.c (parse_rawline_command): go to unmacro_badname when there is trailing garbage on @unmacro line, not to the @clear similar label.,
Patrice Dumas <=