[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Makefile.tres, tp/t/60macro.t: add unpaired_
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Makefile.tres, tp/t/60macro.t: add unpaired_backslash_in_macro_body test. Remove backslash in macro_end_call_in_ignored_inlineraw. |
Date: |
Sun, 12 Feb 2023 06:18:42 -0500 |
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 e1ab2ffefe * tp/Makefile.tres, tp/t/60macro.t: add
unpaired_backslash_in_macro_body test. Remove backslash in
macro_end_call_in_ignored_inlineraw.
e1ab2ffefe is described below
commit e1ab2ffefe9cddae0a95e8f10e75674aa840bf7d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Feb 12 12:18:34 2023 +0100
* tp/Makefile.tres, tp/t/60macro.t: add unpaired_backslash_in_macro_body
test. Remove backslash in macro_end_call_in_ignored_inlineraw.
---
ChangeLog | 5 +++++
tp/Makefile.tres | 1 +
tp/t/60macro.t | 10 +++++++++-
tp/t/results/macro/macro_end_call_in_ignored_inlineraw.pl | 4 ++--
4 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a6c9486e66..0d794e2629 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-02-12 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Makefile.tres, tp/t/60macro.t: add unpaired_backslash_in_macro_body
+ test. Remove backslash in macro_end_call_in_ignored_inlineraw.
+
2023-02-12 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Convert/Text.pm: rename _code_options as _code_state and
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 32002adad7..94a31e3d2d 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -1266,6 +1266,7 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/macro/too_much_args.pl \
t/results/macro/two_macros_on_a_line.pl \
t/results/macro/unknown_macro_on_line_command.pl \
+ t/results/macro/unpaired_backslash_in_macro_body.pl \
t/results/macro/zero_argument.pl \
t/results/menu/bad_beginning.pl \
t/results/menu/block_commands_in_menu_description.pl \
diff --git a/tp/t/60macro.t b/tp/t/60macro.t
index 5755f65a83..f8394a2be1 100644
--- a/tp/t/60macro.t
+++ b/tp/t/60macro.t
@@ -96,6 +96,14 @@ expand \arg\
@macro11 some thing @macro1{}
'],
+['unpaired_backslash_in_macro_body',
+'@macro mymacro {arg}
+In macro \not arg
+not paired
+@end macro
+
+@mymacro{}
+'],
['bad_formal_arg',
'
@macro bad { , not_empty}
@@ -527,7 +535,7 @@ still ignored}. After.
'],
['macro_end_call_in_ignored_inlineraw',
'@macro startraw
-Para @inlineraw{tex, in\@something
+Para @inlineraw{tex, in@something
@end macro
@startraw{}
diff --git a/tp/t/results/macro/macro_end_call_in_ignored_inlineraw.pl
b/tp/t/results/macro/macro_end_call_in_ignored_inlineraw.pl
index b78102925d..0a307b6fc7 100644
--- a/tp/t/results/macro/macro_end_call_in_ignored_inlineraw.pl
+++ b/tp/t/results/macro/macro_end_call_in_ignored_inlineraw.pl
@@ -19,7 +19,7 @@ $result_trees{'macro_end_call_in_ignored_inlineraw'} = {
'cmdname' => 'macro',
'contents' => [
{
- 'text' => 'Para @inlineraw{tex, in\\@something
+ 'text' => 'Para @inlineraw{tex, in@something
',
'type' => 'raw'
},
@@ -144,7 +144,7 @@ still ignored',
};
$result_texis{'macro_end_call_in_ignored_inlineraw'} = '@macro startraw
-Para @inlineraw{tex, in\\@something
+Para @inlineraw{tex, in@something
@end macro
Para @inlineraw{tex, in@something
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Makefile.tres, tp/t/60macro.t: add unpaired_backslash_in_macro_body test. Remove backslash in macro_end_call_in_ignored_inlineraw.,
Patrice Dumas <=