diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2018-01-09 23:43:20 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2018-01-09 23:43:20 +0000 |
commit | aa5d0e8bf3515c424ba0594a2d4e06ae31da7796 (patch) | |
tree | e56fd10d89732547ddb207c1998a1ded4360382e /Build/source/texk/web2c/luatexdir/luatex.c | |
parent | d33684eeca435784c95c62c7981dd02f7818b263 (diff) |
Imported Luatex 1.06.3 (Lua 5.2.4)
git-svn-id: svn://tug.org/texlive/trunk@46269 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luatex.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c index 9590dff1bdf..5dc5d64636a 100644 --- a/Build/source/texk/web2c/luatexdir/luatex.c +++ b/Build/source/texk/web2c/luatexdir/luatex.c @@ -12,6 +12,7 @@ /* We |#define DLLPROC| in order to build LuaTeX and LuajitTeX as DLL for W32TeX. */ + #if defined LuajitTeX #define DLLPROC dllluajittexmain #else @@ -21,20 +22,20 @@ #include "ptexlib.h" #include "luatex.h" #include "lua/luatex-api.h" -/* -#include "luatex_svnversion.h" -*/ - #define TeX -/* for tl17 update, change luatex_date_info but nothing else, - as context depends on the numeric version number. */ -int luatex_version = 100; /* \.{\\luatexversion} */ -int luatex_revision = '4'; /* \.{\\luatexrevision} */ -int luatex_date_info = 2017060901; /* the compile date is now hardwired :YEAR MONTH DAY HOUR*/ -const char *luatex_version_string = "1.0.4"; -const char *engine_name = my_name; /* the name of this engine */ +/* + The version number can be queried with \.{\\luatexversion} and the revision with + with \.{\\luatexrevision}. Traditionally the revision can be any character and + pdf\TeX\ occasionally used no digits. Here we still use a character but we will + stick to "0" upto "9" so users can expect a number represented as string. +*/ + +int luatex_version = 106; +int luatex_revision = '3'; +const char *luatex_version_string = "1.06.3"; +const char *engine_name = my_name; #include <kpathsea/c-ctype.h> #include <kpathsea/line.h> @@ -583,6 +584,7 @@ main (int ac, string *av) return EXIT_SUCCESS; } + /* This is supposed to ``open the terminal for input'', but what we really do is copy command line arguments into TeX's or Metafont's |