restricted system commands enabled.
(./macros.tex
! Undefined control sequence.
l.3 \protected
\long\gdef\a#1#2#{\expanded{\b\c ##1 #2}}
> \a=\long macro:
#1#2{->\expanded {\b \c ##1 #2}{.
l.4 \show\a
! Undefined control sequence.
\x ->\protected
\long \gdef
l.6 \x
\y#1#{\expanded{\b\c ##1}}
> \y=\long macro:
#1{->\expanded {\b \c ##1}{.
l.7 \show\y
> \z=macro:
{->[{.
l.8 \def\z#{[}\show\z
! Undefined control sequence.
\a #1#2{->\expanded
{\b \c ##1 #2}{
l.10 \edef\c{\a1{
2}\z{}}\show\c
! Undefined control sequence.
<argument> \c
...
l.10 \edef\c{\a1{
2}\z{}}\show\c
! Illegal parameter number in definition of \c.
<to be read again>
1
...
l.10 \edef\c{\a1{
2}\z{}}\show\c
> \c=macro:
->{()##1 }{2}[{}.
l.10 \edef\c{\a1{2}\z{}}\show\c
)
(see the transcript file for additional information)
No pages of output.
Transcript written on macros.log.