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 (%parser_state_config


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/ParserNonXS.pm (%parser_state_configuration): Add default value for 'restricted'.
Date: Tue, 28 Nov 2023 13:37:35 -0500

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 e905fb926a * tp/Texinfo/ParserNonXS.pm (%parser_state_configuration): 
Add default value for 'restricted'.
e905fb926a is described below

commit e905fb926acde47a3f4127a4c5f7d482841462be
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Nov 28 18:37:27 2023 +0000

    * tp/Texinfo/ParserNonXS.pm (%parser_state_configuration):
    Add default value for 'restricted'.
---
 ChangeLog                 | 5 +++++
 tp/Texinfo/ParserNonXS.pm | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index a95aadb4da..149989e5d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-28  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/ParserNonXS.pm (%parser_state_configuration):
+       Add default value for 'restricted'.
+
 2023-11-28  Gavin Smith <gavinsmith0123@gmail.com>
 
        restricted flag for XS parser
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index feaee9620c..b0f049da12 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -169,6 +169,8 @@ my %parser_state_configuration = (
   'accept_internalvalue' => 0, # whether @txiinternalvalue should be added
                                # to the tree or considered invalid.
                                # currently set if called by gdt.
+  'restricted' => 0,           # cannot define new commands or make index
+                               # entries.  currently set when called from gdt.
   'registrar' => undef,        # Texinfo::Report object used for error
                                # reporting.
   'values' => {'txicommandconditionals' => 1},



reply via email to

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