diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-18 10:57:43 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-18 10:57:43 +0000 |
commit | b4682625d44d173aec94889928fb35563309456d (patch) | |
tree | e892101cc7db80ac3019ea05478bef92fb4b5461 /Build/source/texk/web2c/alephdir | |
parent | d8c4d7a8921da5b1261084193af310d21738bf51 (diff) |
mention protected in more e-TeX error messages
git-svn-id: svn://tug.org/texlive/trunk@18329 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/alephdir')
-rw-r--r-- | Build/source/texk/web2c/alephdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/alephdir/eobase.ch | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/alephdir/ChangeLog b/Build/source/texk/web2c/alephdir/ChangeLog index 54404717017..520a31befb1 100644 --- a/Build/source/texk/web2c/alephdir/ChangeLog +++ b/Build/source/texk/web2c/alephdir/ChangeLog @@ -1,3 +1,8 @@ +2010-05-18 Peter Breitenlohner <peb@mppmu.mpg.de> + + * eobase.ch: Adapt to ../etexdir/etex.ch: + More error message with \protected, from Heiko. + 2010-04-28 Peter Breitenlohner <peb@mppmu.mpg.de> * eobase.ch: Adapt to ../etexdir/etex.ch: diff --git a/Build/source/texk/web2c/alephdir/eobase.ch b/Build/source/texk/web2c/alephdir/eobase.ch index 07df8966fc9..f4d3494938a 100644 --- a/Build/source/texk/web2c/alephdir/eobase.ch +++ b/Build/source/texk/web2c/alephdir/eobase.ch @@ -2726,6 +2726,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.22686 - 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 `"); @@ -2736,15 +2742,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.22691 - 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.22749 - e-TeX protected |