preproc: Fix the token in expanding the %+/%- macro-parameters
[nasm.git] / test / exitrep.asm
blob4e1b6e3c0ee195e61a93d8611f19be0aae190d8b
1 %macro testrep 0.nolist
2 %assign i 1
3 %rep 4
4 mov eax,i
5 %if i==3
6 %exitrep
7 %endif
8 mov ebx,i
9 %if i >= 3
10 %error iteration i should not be seen
11 %endif
12 %assign i i+1
13 %endrep
14 %endmacro
16 testrep