ml/i test -- errors
checks detection of errors
mcskip mt,<>
mcins%.
mcwarn 1
1 2 1 mcnowarn<>mcset p1=3/0
mcsub(%l1.%l2.3.mcgo l3
%l1.,1%t1.,1) sb 1 2 3
mcdef exclusive opt cant or wont all as rubbish
mcdef 4 vars argerr;ssas<1%a1.3%t5.4>
argerr 2<>exclusive xxx; sb 1234
1%a1.%p0.2%t1.%l0.3%.%l1a.4%lpig.5% l. sb 12345
1<>mcgo
mcgo l0
2<>mcgo l
3<>mcgo l1a
4 sb 1234
1%/6.%*6.2%4/+-/3.%4*/6.3%5*.%-*-1.4%-4+/6. sb 1234
mcdef errmac nl
as<1%a0.%b2.%w.%wd-1.2%d2.%wd.%t0.%t4.3%d1
.%a1.6%wt.%wwd0.%dd1.>
errmac %a1.4%%a1.+5.
mcnoins<>mcnodef<>mcnoskip sb 123456
a quick way to verify that all the following errors have been
detected is to check that the environment at the end contains
only one macro,insert,stop,skip and warning.
1.mcstop
mcstop xx n0
mcstop x1 x2
mcstop opt x or y all
2.mcins insert two arguments
mcins noarguments
3.mcskip
mcskip r2 or+all
mcskip r3 all
mcskip opt n1 r4 all
mcskip opt opt r5 all all
mcskip opt r6 or n2 pt+all all
mcskip r7+n1+n1+
mcskip opt r8 n1 all
mcskip n1 opt r9 n1 all
mcskip n1 opt r10 n1 or +n0 all +
mcskip n1 opt r11 n1 or-opt+n1all all +
mcskip r12 n1 n2
mcskip opt r13 or n1 n2+all
mcskip r14 opt all
mcskip opt r15 or n1 all
mcskip opt r16 or +
mcskip r17 n10a
mcskip r18 n0 a
mcskip r19 n10
4.mcskip b withs with
mcskip c withs withs
mcskip d withs opt
mcskip e withs or
mcskip f withs all
mcskip g withs n1
mcskip h with
mcskip n1 with.
mcskip j opt with.all
mcskip k opt.or withs. all
mcdef l opt+ all with .as
mcdef m opt a with.with b or a withs . withs b all  as
5.mcskip opt a or a all
mcskip opt a or b n0 or c or b all
mcskip opt space or b opt c all or spaces all
mcskip opt a withs . withs b or c or a with.with b all
mcskip opt a with space with c or a withs c all
mcskip opt a with space with . or a withs. all
mcskip opt space with space or spaces all
mcskip opt a with spaces or a with space with space with space all
mcskip opt spaces or spaces all
mcdef opt space withs c withs. or space with space with
 c with space with. all as rubbish
 sb 1.2.3.4.5.
mcdef mcdef + as withs
this + should + be + the + only + macro
as mcdef +as withs
this + should + be + the + only +
mcstop this should be the only macro stop
mcins this should be the only macro insert .
mcskip this should be the only macro skip
mcwarn this should be the only macro warning withs marker
