summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tex.ch
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2021-07-19 12:08:15 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2021-07-19 12:08:15 +0000
commitd3077d7fb1891b74ba54dfd39d2cdd6044cb92c0 (patch)
treeaf78a9cd93fb8fc44c756623cef9aa09b8bbd2ec /Build/source/texk/web2c/tex.ch
parent23444b222f2ee557fcb4e2c3530a8e1e71ba21d9 (diff)
tex.ch: initialize the variable limit (H. Kitagawa)
alephdir/com16bit.ch: sync with tex.ch git-svn-id: svn://tug.org/texlive/trunk@59986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/tex.ch')
-rw-r--r--Build/source/texk/web2c/tex.ch16
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/tex.ch b/Build/source/texk/web2c/tex.ch
index d11f42da855..56440fe1c36 100644
--- a/Build/source/texk/web2c/tex.ch
+++ b/Build/source/texk/web2c/tex.ch
@@ -785,6 +785,13 @@ if translate_filename then begin
end;
@z
+@x [5.??] term_input: set limit when fatal_error
+if not input_ln(term_in,true) then fatal_error("End of file on the terminal!");
+@y
+if not input_ln(term_in,true) then begin
+ limit:=0; fatal_error("End of file on the terminal!"); end;
+@z
+
@x [6.73] l.1732 - Add unspecified_mode.
@d error_stop_mode=3 {stops at every opportunity to interact}
@y
@@ -1530,6 +1537,15 @@ cur_order:=co_backup; link(backup_head):=backup_backup;
decr(expand_depth_count);
@z
+@x [27.???]
+else fatal_error("*** (cannot \read from terminal in nonstop modes)")
+@y
+else begin
+ limit:=0;
+ fatal_error("*** (cannot \read from terminal in nonstop modes)");
+ end
+@z
+
@x [28.501] l.9747 - \eof18
if_eof_code: begin scan_four_bit_int; b:=(read_open[cur_val]=closed);
end;