diff options
author | Marius <mariausol@gmail.com> | 2012-08-11 13:00:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-08-11 13:00:13 +0300 |
commit | 9b98b3cf26c450f19e763e9908468afc9ced029e (patch) | |
tree | b675737b5448c502db068db0699ff83c80a5c6ee /tex/generic | |
parent | c8c0121153c97ab80ac87ba275e530c632306eef (diff) | |
download | context-9b98b3cf26c450f19e763e9908468afc9ced029e.tar.gz |
beta 2012.08.11 11:43
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index fb1bba060..81280b892 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 08/10/12 19:40:14 +-- merge date : 08/11/12 11:43:49 do -- begin closure to overcome local limits and interference @@ -2198,6 +2198,11 @@ end file.isreadable = file.is_readable -- depricated file.iswritable = file.is_writable -- depricated +function file.size(name) + local a = attributes(name) + return a and a.size or 0 +end + -- todo: lpeg \\ / .. does not save much local checkedsplit = string.checkedsplit |