[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/ParserNonXS.pm (_parse_texi): avoid
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/ParserNonXS.pm (_parse_texi): avoid "invalid interpolation" error in error message. |
Date: |
Sat, 28 Aug 2021 15:44:22 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 98c0308 * tp/Texinfo/ParserNonXS.pm (_parse_texi): avoid "invalid
interpolation" error in error message.
98c0308 is described below
commit 98c030823e2f4e770b17ca285a47dce160df0059
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Aug 28 20:44:08 2021 +0100
* tp/Texinfo/ParserNonXS.pm (_parse_texi): avoid "invalid
interpolation" error in error message.
---
ChangeLog | 5 +++++
tp/Texinfo/ParserNonXS.pm | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 310eb89..06a9afd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-08-28 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/ParserNonXS.pm (_parse_texi): avoid "invalid
+ interpolation" error in error message.
+
2021-08-28 Stephen Gildea <stepheng-texinfo@gildea.com> (tiny change)
texinfo.tex: Simplify time-stamp local variables
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index 54d59ec..80d2820 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -4161,7 +4161,8 @@ sub _parse_texi($;$)
push @{$current->{'contents'}}, $new_element;
}
} else {
- $self->line_error(__("bad syntax for \@$command"), $line_nr);
+ $self->line_error (sprintf(__("bad syntax for %c%s"), ord('@'),
+ $command), $line_nr);
}
next;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/ParserNonXS.pm (_parse_texi): avoid "invalid interpolation" error in error message.,
Gavin D. Smith <=
- Prev by Date:
branch master updated: texinfo.tex: Simplify time-stamp local variables
- Next by Date:
branch master updated: * Pod-Simple-Texinfo/pod2texi.pl (_fix_texinfo_tree) tp/texi2any.pl, tp/Texinfo/Common.pm (register_label, set_nodes_list_labels), tp/Texinfo/ParserNonXS.pm (labels_information, _register_label) (_end_line, _parse_texi), tp/Texinfo/XS/parsetexi/Parsetexi.pm (_complete_node_menus) (get_parser_info, parse_texi_line, labels_information) tp/Texinfo/Structuring.pm (_check_menu_entry) (_check_referenced_nodes, check_nodes_are_referenced) (set_menus_node_directions, complete_node_tree_with_menus) [...]
- Previous by thread:
branch master updated: texinfo.tex: Simplify time-stamp local variables
- Next by thread:
branch master updated: * Pod-Simple-Texinfo/pod2texi.pl (_fix_texinfo_tree) tp/texi2any.pl, tp/Texinfo/Common.pm (register_label, set_nodes_list_labels), tp/Texinfo/ParserNonXS.pm (labels_information, _register_label) (_end_line, _parse_texi), tp/Texinfo/XS/parsetexi/Parsetexi.pm (_complete_node_menus) (get_parser_info, parse_texi_line, labels_information) tp/Texinfo/Structuring.pm (_check_menu_entry) (_check_referenced_nodes, check_nodes_are_referenced) (set_menus_node_directions, complete_node_tree_with_menus) [...]
- Index(es):