From ba0525ab1357402db941d4e2e6da5cd579ab2056 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Wed, 19 Jan 2011 09:25:09 +0000 Subject: pTeX's \lastkern etc and epTeX's \lastnodetype git-svn-id: svn://tug.org/texlive/trunk@21124 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/eptexdir/eptex.ech | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'Build/source/texk/web2c/eptexdir/eptex.ech') diff --git a/Build/source/texk/web2c/eptexdir/eptex.ech b/Build/source/texk/web2c/eptexdir/eptex.ech index 2ce1d836469..868e1b2641e 100644 --- a/Build/source/texk/web2c/eptexdir/eptex.ech +++ b/Build/source/texk/web2c/eptexdir/eptex.ech @@ -31,22 +31,25 @@ @d max_quarterword=@"FFFF {largest allowable value in a |quarterword|} @z -@x e-pTeX: node types +@x [26.424] e-pTeX: node types last_node_type_code: if (type(tail)<>math_node)or(subtype(tail)<>end_M_code) then if type(tail)<=unset_node then cur_val:=type(tail)+1 else cur_val:=unset_node+2; + end; {there are no other cases} + end @y - last_node_type_code: - if (type(tail)<>math_node)or(subtype(tail)<>end_M_code) then - if type(tail)<=unset_node then begin - if type(tail)math_node)or(subtype(q)<>end_M_code))and(head<>tail) then + if type(q)<=unset_node then begin + if type(q)=dir_node then q:=list_ptr(q); + cur_val:=type(q); + if cur_valdisp_node then cur_val:=cur_val-1; + end + else cur_val:=unset_node; {\epTeX's |unset_node| is \eTeX's |unset_node+2|} + end; {there are no other cases} + end; @z @x e-pTeX: if primitives - leave room for three e-TeX codes -- cgit v1.2.3