summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/etexdir/etex.ch
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-18 10:57:43 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-18 10:57:43 +0000
commitb4682625d44d173aec94889928fb35563309456d (patch)
treee892101cc7db80ac3019ea05478bef92fb4b5461 /Build/source/texk/web2c/etexdir/etex.ch
parentd8c4d7a8921da5b1261084193af310d21738bf51 (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/etexdir/etex.ch')
-rw-r--r--Build/source/texk/web2c/etexdir/etex.ch12
1 files changed, 9 insertions, 3 deletions
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