diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-11-18 09:00:59 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-11-18 09:00:59 +0000 |
commit | e381ce64bd22315a5568afe88f6e9defdb48b4dc (patch) | |
tree | a7ef3adefed100c301fb6170cd3306d48f30621f /Build/source/texk/web2c/luatexdir/tex/extensions.h | |
parent | 7ae492aadd1e1d3a45173ad2a7fa9cdc5e550434 (diff) |
web2c/luatexdir: Sync with the upstream.
git-svn-id: svn://tug.org/texlive/trunk@38886 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/extensions.h')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/extensions.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/extensions.h b/Build/source/texk/web2c/luatexdir/tex/extensions.h index 819bfa88b14..8cf116169d0 100644 --- a/Build/source/texk/web2c/luatexdir/tex/extensions.h +++ b/Build/source/texk/web2c/luatexdir/tex/extensions.h @@ -21,18 +21,12 @@ #ifndef EXTENSIONS_H # define EXTENSIONS_H -# define write_target_direct 16 -# define write_target_special 17 -# define write_target_system 18 -# define write_target_overflow last_file_selector+16 /* a signal that we write to console */ -# define last_write_open last_file_selector+2 /* keeps track of open state */ - extern alpha_file write_file[last_file_selector+1]; extern halfword write_file_mode[last_file_selector+1]; extern halfword write_file_translation[last_file_selector+1]; -extern boolean write_open[last_write_open+1]; +extern boolean write_open[last_file_selector+1]; -# define valid_write_file(n) (((n>=0) && (n<16)) || ((n>18) && (n<last_file_selector))) +# define valid_write_file(n) ((n>=0) && (n<=last_file_selector)) # define file_can_be_written(n) (valid_write_file(n) && write_open[n]) extern void expand_macros_in_tokenlist(halfword p); |