[latex3-commits] [git/LaTeX3-latex3-latex3] luaintarray: Avoid variable names equal to standard libraries (773b506b5)

Marcel Fabian Krüger tex at 2krueger.de
Sat Nov 13 15:02:12 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : luaintarray
Link       : https://github.com/latex3/latex3/commit/773b506b5b356f3c4c61a3602f53a391ac1b6e78

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

commit 773b506b5b356f3c4c61a3602f53a391ac1b6e78
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Nov 13 15:01:43 2021 +0100

    Avoid variable names equal to standard libraries


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

773b506b5b356f3c4c61a3602f53a391ac1b6e78
 l3kernel/l3intarray.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index 083e79a0d..f9e927619 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -300,11 +300,11 @@ local @@_table do
       return tables[0]
     end
     local i = scan_int()
-    local table = tables[i]
-    if table then return table end
-    table = {}
-    tables[i] = table
-    return table
+    local current_table = tables[i]
+    if current_table then return current_table end
+    current_table = {}
+    tables[i] = current_table
+    return current_table
   end
 %    \end{macrocode}
 % Since in \LaTeX{} this is loaded in the format, we want to preserve any intarrays





More information about the latex3-commits mailing list.