texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/ParserNonXS.pm, tp/Texinfo/XS/parset


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/ParserNonXS.pm, tp/Texinfo/XS/parsetexi/Parsetexi.pm: remove registrar method, it is a bad idea to be able to access directly the registrar.
Date: Sat, 19 Oct 2024 17:19:09 -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 12c6eb9f10 * tp/Texinfo/ParserNonXS.pm, 
tp/Texinfo/XS/parsetexi/Parsetexi.pm: remove registrar method, it is a bad idea 
to be able to access directly the registrar.
12c6eb9f10 is described below

commit 12c6eb9f101850bec51bff2007179502dca2f973
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 19 23:19:03 2024 +0200

    * tp/Texinfo/ParserNonXS.pm, tp/Texinfo/XS/parsetexi/Parsetexi.pm:
    remove registrar method, it is a bad idea to be able to access
    directly the registrar.
---
 ChangeLog                            | 6 ++++++
 tp/Texinfo/ParserNonXS.pm            | 7 -------
 tp/Texinfo/XS/parsetexi/Parsetexi.pm | 7 -------
 3 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f734503e5b..45405e4e4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-19  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/ParserNonXS.pm, tp/Texinfo/XS/parsetexi/Parsetexi.pm:
+       remove registrar method, it is a bad idea to be able to access
+       directly the registrar.
+
 2024-10-19  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Common.pm (perl_encoding_name): add function.
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index c0a5e7c21e..24a9fc9c87 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -1019,13 +1019,6 @@ sub _parse_texi_document($)
   return $document;
 }
 
-# Only used in a test, not documented, there for symmetry with document
-sub registrar($)
-{
-  my $self = shift;
-  return $self->{'registrar'};
-}
-
 sub errors($)
 {
   my $self = shift;
diff --git a/tp/Texinfo/XS/parsetexi/Parsetexi.pm 
b/tp/Texinfo/XS/parsetexi/Parsetexi.pm
index 968f04800e..4ebb78046c 100644
--- a/tp/Texinfo/XS/parsetexi/Parsetexi.pm
+++ b/tp/Texinfo/XS/parsetexi/Parsetexi.pm
@@ -278,13 +278,6 @@ sub parse_texi_line($$;$$)
   return $document->tree();
 }
 
-# Only used in a test, not documented, there for symmetry with document
-sub registrar($)
-{
-  my $self = shift;
-  return $self->{'registrar'};
-}
-
 sub errors($)
 {
   my $self = shift;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]