diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-08-27 08:34:54 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-08-27 08:34:54 +0000 |
commit | 1ca9cdc1c2ff5779e68ab7a3d5506856046d35f5 (patch) | |
tree | fb2d82194fddafdcefe6d899c7365fdb157a509c /Build | |
parent | 2d51b17da005a18a51626ab9d28011be51b97ab7 (diff) |
web2c/luatexdir: Formally keep the --[no-]parse-first-line option for compatibility with existing scripts etc.
git-svn-id: svn://tug.org/texlive/trunk@38218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luainit.w | 3 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/mainbody.h | 1 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/mainbody.w | 1 |
4 files changed, 9 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index e47388bc39a..5b7f3f4bb0a 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -8,9 +8,10 @@ * tex/mlist.w: Sync with the trunk. See http://tug.org/pipermail/luatex/2015-August/005319.html - * tex/mainbody.h, tex/mainbody.w, tex/printing.w, lua/luainit.w: - Remove the option --[no-]parse-first-line, since it does not - exist in lua(jit)tex. + * tex/printing.w: Do not write to a log file for the + --[no-]parse-first-line option, since the option actually does not + exist in lua(jit)tex, although superficially it remains for compatibility + with existing scripts etc. 2015-07-10 Peter Breitenlohner <peb@mppmu.mpg.de> diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w index eae69d127e2..fc79023cf84 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luainit.w +++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w @@ -91,6 +91,7 @@ const_string LUATEX_IHELP[] = { " --output-comment=STRING use STRING for DVI file comment instead of date (no effect for PDF)", " --output-directory=DIR use existing DIR as the directory to write files in", " --output-format=FORMAT use FORMAT for job output; FORMAT is 'dvi' or 'pdf'", + " --[no-]parse-first-line disable/enable parsing of the first line of the input file", " --progname=STRING set the program name to STRING", " --recorder enable filename recorder", " --safer disable easily exploitable lua commands", @@ -235,6 +236,8 @@ static struct option long_options[] {"file-line-error", 0, &filelineerrorstylep, 1}, {"no-file-line-error", 0, &filelineerrorstylep, -1}, {"jobname", 1, 0, 0}, +{"parse-first-line", 0, &parsefirstlinep, 1}, +{"no-parse-first-line", 0, &parsefirstlinep, -1}, {"translate-file", 1, 0, 0}, {"default-translate-file", 1, 0, 0}, {"8bit", 0, 0, 0}, diff --git a/Build/source/texk/web2c/luatexdir/tex/mainbody.h b/Build/source/texk/web2c/luatexdir/tex/mainbody.h index 996af533745..1cbd214e016 100644 --- a/Build/source/texk/web2c/luatexdir/tex/mainbody.h +++ b/Build/source/texk/web2c/luatexdir/tex/mainbody.h @@ -136,6 +136,7 @@ extern int param_size; extern int nest_size; extern int save_size; extern int expand_depth; +extern int parsefirstlinep; extern int filelineerrorstylep; extern int haltonerrorp; extern boolean quoted_filename; diff --git a/Build/source/texk/web2c/luatexdir/tex/mainbody.w b/Build/source/texk/web2c/luatexdir/tex/mainbody.w index 6f1de58676e..a98bd74a9e0 100644 --- a/Build/source/texk/web2c/luatexdir/tex/mainbody.w +++ b/Build/source/texk/web2c/luatexdir/tex/mainbody.w @@ -214,6 +214,7 @@ int nest_size; /* maximum number of semantic levels simultaneou int save_size; /* space for saving values outside of current group; must be at most |max_halfword| */ int expand_depth; /* limits recursive calls of the |expand| procedure */ +int parsefirstlinep; /* parse the first line for options */ int filelineerrorstylep; /* format messages as file:line:error */ int haltonerrorp; /* stop at first error */ boolean quoted_filename; /* current filename is quoted */ |