From 20727c0760eb75cb2962eb7217916aedd8a2ebac Mon Sep 17 00:00:00 2001 From: Hironobu Yamashita Date: Sat, 28 Nov 2020 01:03:14 +0000 Subject: ptex-base.ch: error recovery, syntax git-svn-id: svn://tug.org/texlive/trunk@57023 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ptexdir/ChangeLog | 5 +++++ Build/source/texk/web2c/ptexdir/ptex-base.ch | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/web2c/ptexdir') diff --git a/Build/source/texk/web2c/ptexdir/ChangeLog b/Build/source/texk/web2c/ptexdir/ChangeLog index c2643d79113..1a3647789c2 100644 --- a/Build/source/texk/web2c/ptexdir/ChangeLog +++ b/Build/source/texk/web2c/ptexdir/ChangeLog @@ -1,3 +1,8 @@ +2020-11-29 Hironobu Yamashita + + * ptex-base.ch: Fix syntax error of "not equal". + Correct error recovery value of illegal catcode for upTeX. + 2020-10-30 Hironobu Yamashita * pdvitype.ch: Strict check for DVI ID was wrong for diff --git a/Build/source/texk/web2c/ptexdir/ptex-base.ch b/Build/source/texk/web2c/ptexdir/ptex-base.ch index 6d1e0f405d7..401efff0700 100644 --- a/Build/source/texk/web2c/ptexdir/ptex-base.ch +++ b/Build/source/texk/web2c/ptexdir/ptex-base.ch @@ -4534,7 +4534,7 @@ loop@+ begin if is_char_node(s) then end else c:=qo(character(s)); end else if type(s)=disp_node then goto continue - else if (type(s)=penalty_node)and(not subtype(s)=normal) then goto continue + else if (type(s)=penalty_node)and(subtype(s)<>normal) then goto continue @z @x [40.899] l.18248 - pTeX: disp_node @@ -6108,13 +6108,12 @@ def_code: begin print_int(n); if m=0 then begin help1("I'm going to use 0 instead of that illegal code value.");@/ - error; + error; cur_val:=0; end else begin help1("I'm going to use 16 instead of that illegal code value.");@/ - error; + error; cur_val:=16; end; - cur_val:=m; end; if p