diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-04-28 15:05:17 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-04-28 15:05:17 +0000 |
commit | fc56e407990a17211161063e5b95fd82653d26a0 (patch) | |
tree | f32d3b625a7952ed0f66faa867736ae6191bfa0e /Build/source/texk/web2c/alephdir | |
parent | 1c78e692e29d84343e5bbb1f5a1c9442a5c35d28 (diff) |
fixed an etex error message
git-svn-id: svn://tug.org/texlive/trunk@18033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/alephdir')
-rw-r--r-- | Build/source/texk/web2c/alephdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/alephdir/eobase.ch | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/alephdir/ChangeLog b/Build/source/texk/web2c/alephdir/ChangeLog index 740856f20ae..54404717017 100644 --- a/Build/source/texk/web2c/alephdir/ChangeLog +++ b/Build/source/texk/web2c/alephdir/ChangeLog @@ -1,3 +1,9 @@ +2010-04-28 Peter Breitenlohner <peb@mppmu.mpg.de> + + * eobase.ch: Adapt to ../etexdir/etex.ch: + Fixed the error message for improper use of \protected, + reported by Heiko Oberdiek <heiko.oberdiek@googlemail.com>. + 2010-01-03 Karl Berry <karl@tug.org> * com16bit.ch: propagate "executed safely" wording change. diff --git a/Build/source/texk/web2c/alephdir/eobase.ch b/Build/source/texk/web2c/alephdir/eobase.ch index b97b3a37859..07df8966fc9 100644 --- a/Build/source/texk/web2c/alephdir/eobase.ch +++ b/Build/source/texk/web2c/alephdir/eobase.ch @@ -2728,12 +2728,23 @@ or `\.{\\outer}', and it might or might not be expanded. The prefixes %--------------------------------------- @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 `"); + print_esc("outer"); print("' with `"); @y if a>=8 then begin j:=protected_token; a:=a-8; 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 `"); + 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."); @z %--------------------------------------- @x [49] m.1218 l.22749 - e-TeX protected |