[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh441: Off by one (f234dd65)

PhelypeOleinik phelype.oleinik at latex-project.org
Thu Dec 17 18:34:17 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/gh441
Link       : https://github.com/latex3/latex2e/commit/f234dd6530365244d23429be6d8ae7ddebac88da

>---------------------------------------------------------------

commit f234dd6530365244d23429be6d8ae7ddebac88da
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Dec 17 14:34:17 2020 -0300

    Off by one


>---------------------------------------------------------------

f234dd6530365244d23429be6d8ae7ddebac88da
 base/lthooks.dtx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 4d826cdc..4fe6cdf3 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -4223,7 +4223,8 @@
     \seq_gpop:NNT \g_@@_name_stack_seq \l_@@_return_tl
       {
         \msg_error:nnx { hooks } { missing-pop-label }
-          { \l_@@_return_tl }
+          { \g_@@_hook_curr_name_tl }
+        \tl_gset_eq:NN \g_@@_hook_curr_name_tl \l_@@_return_tl
         \@@_end_document_label_check:
       }
   }





More information about the latex3-commits mailing list.