[latex3-commits] [l3svn] 02/02: Lua 'local' is per-file

noreply at latex-project.org noreply at latex-project.org
Sat Feb 18 20:08:23 CET 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit b1e2e5ed35c72fb400baabefc829a55a1d51082e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Feb 18 19:07:54 2017 +0000

    Lua 'local' is per-file
    
    So the data has to be global here: we could clean up but probably
    don't need to.
---
 l3kernel/l3luatex.dtx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3luatex.dtx b/l3kernel/l3luatex.dtx
index 3c69cd9..c109ea2 100644
--- a/l3kernel/l3luatex.dtx
+++ b/l3kernel/l3luatex.dtx
@@ -286,10 +286,10 @@ l3kernel.charcat = charcat
 % A small amount of generic code is used by almost all \LuaTeX{} material so
 % needs to be loaded by the format.
 %    \begin{macrocode}
-local attribute_count_name = "g__alloc_attribute_int"
-local bytecode_count_name  = "g__alloc_bytecode_int"
-local chunkname_count_name = "g__alloc_chunkname_int"
-local whatsit_count_name   = "g__alloc_whatsit_int"
+attribute_count_name = "g__alloc_attribute_int"
+bytecode_count_name  = "g__alloc_bytecode_int"
+chunkname_count_name = "g__alloc_chunkname_int"
+whatsit_count_name   = "g__alloc_whatsit_int"
 require("ltluatex")
 %    \end{macrocode}
 %

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list