[latex3-commits] [l3svn] 01/03: l3build: More internal functions marked local

noreply at latex-project.org noreply at latex-project.org
Sat Apr 15 18:35:17 CEST 2017


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

joseph pushed a commit to branch master
in repository l3svn.

commit e265cf539a1b8b4c2179c8b0d382afcf2ab34665
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Apr 15 09:54:30 2017 +0100

    l3build: More internal functions marked local
---
 l3build/l3build.lua |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 2b670b7..0e763e0 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -699,7 +699,7 @@ local function checkinit()
 end
 
 -- Unpack files needed to support testing/typesetting/unpacking
-function depinstall(deps)
+local function depinstall(deps)
   local errorlevel
   for _,i in ipairs(deps) do
     print("Installing dependency: " .. i)
@@ -713,7 +713,7 @@ end
 
 -- Convert the raw log file into one for comparison/storage: keeps only
 -- the 'business' part from the tests and removes system-dependent stuff
-function formatlog(logfile, newfile, engine)
+local function formatlog(logfile, newfile, engine)
   local maxprintline = maxprintline
   if engine == "luatex" or engine == "luajittex" then
     maxprintline = maxprintline + 1 -- Deal with an out-by-one error
@@ -857,7 +857,7 @@ function formatlog(logfile, newfile, engine)
 end
 
 -- Additional normalization for LuaTeX
-function formatlualog(logfile, newfile)
+local function formatlualog(logfile, newfile)
   local function normalize(line, lastline, dropping)
     -- Find \discretionary or \whatsit lines:
     -- These may come back later

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


More information about the latex3-commits mailing list