From b4682625d44d173aec94889928fb35563309456d Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 18 May 2010 10:57:43 +0000 Subject: mention protected in more e-TeX error messages git-svn-id: svn://tug.org/texlive/trunk@18329 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/etexdir/ChangeLog | 4 ++++ Build/source/texk/web2c/etexdir/etex.ch | 12 +++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/web2c/etexdir') diff --git a/Build/source/texk/web2c/etexdir/ChangeLog b/Build/source/texk/web2c/etexdir/ChangeLog index 4e0e6219396..e8f8210116e 100644 --- a/Build/source/texk/web2c/etexdir/ChangeLog +++ b/Build/source/texk/web2c/etexdir/ChangeLog @@ -1,3 +1,7 @@ +2010-05-18 Peter Breitenlohner + + * etex.ch: More error message with \protected, from Heiko. + 2010-04-28 Peter Breitenlohner * etex.ch: Checked and adjusted tex.web line numbers. diff --git a/Build/source/texk/web2c/etexdir/etex.ch b/Build/source/texk/web2c/etexdir/etex.ch index 6ea1513379d..c7d9a238019 100644 --- a/Build/source/texk/web2c/etexdir/etex.ch +++ b/Build/source/texk/web2c/etexdir/etex.ch @@ -2650,6 +2650,12 @@ or `\.{\\outer}', and it might or might not be expanded. The prefixes if tracing_commands>2 then if eTeX_ex then show_cur_cmd_chr; @z %--------------------------------------- +@x [49] m.1212 l.22730 - e-TeX protected +help1("I'll pretend you didn't say \long or \outer or \global."); +@y +help1("I'll pretend you didn't say \long or \outer or \global or \protected."); +@z +%--------------------------------------- @x [49] m.1213 l.22735 - e-TeX protected if (cur_cmd<>def)and(a mod 4<>0) then begin print_err("You can't use `"); print_esc("long"); print("' or `"); @@ -2660,15 +2666,15 @@ if a>=8 then end else j:=0; if (cur_cmd<>def)and((a mod 4<>0)or(j<>0)) then - begin print_err("You can't use `"); print_esc("long"); print("', `"); - print_esc("outer"); print("', or `"); + begin print_err("You can't use `"); print_esc("long"); print("' or `"); + print_esc("outer"); print("' or `"); print_esc("protected"); print("' with `"); @z %--------------------------------------- @x [49] m.1213 l.22740 - e-TeX protected help1("I'll pretend you didn't say \long or \outer here."); @y - help1("I'll pretend you didn't say \long, \outer, or \protected here."); + help1("I'll pretend you didn't say \long or \outer or \protected here."); @z %--------------------------------------- @x [49] m.1218 l.22798 - e-TeX protected -- cgit v1.2.3