texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/parsetexi/api.c (reset_parser): R


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/XS/parsetexi/api.c (reset_parser): Reset global_restricted.
Date: Tue, 28 Nov 2023 12:01:16 -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 1dbabf6901 * tp/Texinfo/XS/parsetexi/api.c (reset_parser): Reset 
global_restricted.
1dbabf6901 is described below

commit 1dbabf6901f7d61681b7e74274badac2e210751f
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Nov 28 17:01:06 2023 +0000

    * tp/Texinfo/XS/parsetexi/api.c (reset_parser):
    Reset global_restricted.
---
 ChangeLog                     | 6 ++++++
 tp/Texinfo/XS/parsetexi/api.c | 1 +
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index f171343eb7..1852a1433f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-28  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/XS/parsetexi/api.c (reset_parser):
+       Reset global_restricted.
+
 2023-11-27  Gavin Smith <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/XS/parsetexi/parser.c (set_restricted, global_restricted):
@@ -9,6 +14,7 @@
        * tp/Texinfo/XS/parsetexi/api.c (parser_set_restricted):
        New function.  Call set_restricted.
 
+       * tp/Texinfo/Common.pm (%parser_options): Add 'restricted'.
        * tp/Texinfo/XS/parsetexi/Parsetexi.pm (simple_parser):
        Set 'restricted' flag.
        (parser): If 'restricted' flag is set, call parser_set_restricted.
diff --git a/tp/Texinfo/XS/parsetexi/api.c b/tp/Texinfo/XS/parsetexi/api.c
index 9e56790398..bf3d503385 100644
--- a/tp/Texinfo/XS/parsetexi/api.c
+++ b/tp/Texinfo/XS/parsetexi/api.c
@@ -123,6 +123,7 @@ reset_parser (int local_debug_output)
   set_locale_encoding (0);
 
   global_accept_internalvalue = 0;
+  global_restricted = 0;
 }
 
 /* Determine directory path based on file name.



reply via email to

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