[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parse_tex
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parse_texi_piece): Remove optional $no_build argument. * tp/t/test_utils.pl: Update call to parse_texi_piece. |
Date: |
Fri, 05 Apr 2024 09:40:06 -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 f810d5ddcc * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parse_texi_piece):
Remove optional $no_build argument. * tp/t/test_utils.pl: Update call to
parse_texi_piece.
f810d5ddcc is described below
commit f810d5ddcce7c26abe20071dce9fca7df99eb05e
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Fri Apr 5 14:39:57 2024 +0100
* tp/Texinfo/XS/parsetexi/Parsetexi.pm (parse_texi_piece):
Remove optional $no_build argument.
* tp/t/test_utils.pl: Update call to parse_texi_piece.
---
ChangeLog | 6 ++++++
tp/Texinfo/XS/parsetexi/Parsetexi.pm | 7 +++----
tp/t/test_utils.pl | 2 +-
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 74d5c5d8ee..4536e3ffcc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-05 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parse_texi_piece):
+ Remove optional $no_build argument.
+ * tp/t/test_utils.pl: Update call to parse_texi_piece.
+
2024-04-05 Gavin Smith <gavinsmith0123@gmail.com>
XS parse_texi_file only returns handle for building tree on-demand
diff --git a/tp/Texinfo/XS/parsetexi/Parsetexi.pm
b/tp/Texinfo/XS/parsetexi/Parsetexi.pm
index 39aa31a2c2..8d5ff50acd 100644
--- a/tp/Texinfo/XS/parsetexi/Parsetexi.pm
+++ b/tp/Texinfo/XS/parsetexi/Parsetexi.pm
@@ -265,9 +265,9 @@ sub parse_texi_file ($$)
# Used in tests under tp/t.
-sub parse_texi_piece($$;$$$)
+sub parse_texi_piece($$;$$)
{
- my ($self, $text, $line_nr, $no_build, $no_store) = @_;
+ my ($self, $text, $line_nr, $no_store) = @_;
return undef if (!defined($text));
@@ -279,8 +279,7 @@ sub parse_texi_piece($$;$$$)
my $utf8_bytes = Encode::encode('utf-8', $text);
my $document_descriptor = parse_piece($utf8_bytes, $line_nr);
- my $document = _get_parser_info($self, $document_descriptor, $no_build,
- $no_store);
+ my $document = _get_parser_info($self, $document_descriptor, 1, $no_store);
return $document;
}
diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index 85598b5ccc..0ad0846b6d 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -1016,7 +1016,7 @@ sub test($$)
$document = $parser->parse_texi_text($test_text, undef, $XS_structuring);
} else {
print STDERR " TEST $test_name\n" if ($self->{'DEBUG'});
- $document = $parser->parse_texi_piece($test_text, undef,
$XS_structuring);
+ $document = $parser->parse_texi_piece($test_text, undef);
if (defined($test_input_file_name)) {
warn "ERROR: $self->{'name'}: $test_name: piece of texi with a file
name\n";
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parse_texi_piece): Remove optional $no_build argument. * tp/t/test_utils.pl: Update call to parse_texi_piece.,
Gavin D. Smith <=