[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line)
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line): check if verbatiminclude path is defined. |
Date: |
Wed, 31 Jan 2024 15:38:13 -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 d79b32d7f4 * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line): check if
verbatiminclude path is defined.
d79b32d7f4 is described below
commit d79b32d7f425b53b828d1723e87a77805f7b2921
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Jan 31 21:38:04 2024 +0100
* tp/Texinfo/ParserNonXS.pm (_end_line_misc_line): check if
verbatiminclude path is defined.
---
ChangeLog | 5 +++++
tp/Texinfo/ParserNonXS.pm | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 215cc372e7..de0fb449db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-01-31 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line): check if
+ verbatiminclude path is defined.
+
2024-01-31 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/Makefile.am (nodist_IndicesXS_la_SOURCES),
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index f52983f4e7..639a8b211f 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -3605,7 +3605,7 @@ sub _end_line_misc_line($$$)
my ($file_path, $file_name_encoding) = _encode_file_name($self, $text);
my $included_file_path
= Texinfo::Common::locate_include_file($self, $file_path);
- if (-r $included_file_path) {
+ if (defined($included_file_path) and -r $included_file_path) {
push @{$self->{'global_info'}->{'included_files'}},
$included_file_path;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line): check if verbatiminclude path is defined.,
Patrice Dumas <=