2008-10-07 09:27:30 +08:00
|
|
|
;Testname=test; Arguments=-fbin -oiftoken.txt; Files=stdout stderr iftoken.txt
|
2008-04-23 21:05:31 +08:00
|
|
|
|
2008-02-17 09:01:40 +08:00
|
|
|
%define ZMACRO
|
|
|
|
%define NMACRO 1
|
|
|
|
%define TMACRO 1 2
|
|
|
|
db 'N "":'
|
|
|
|
%iftoken
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "":'
|
|
|
|
%iftoken ; With a comment!
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty ; With a comment!
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'N "ZMACRO":'
|
|
|
|
%iftoken ZMACRO
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty ZMACRO
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "ZMACRO":'
|
|
|
|
%iftoken ZMACRO ; With a comment!
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty ZMACRO ; With a comment!
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'N "NMACRO":'
|
|
|
|
%iftoken NMACRO
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty NMACRO
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "NMACRO":'
|
|
|
|
%iftoken NMACRO ; With a comment!
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty NMACRO ; With a comment!
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'N "TMACRO":'
|
|
|
|
%iftoken TMACRO
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty TMACRO
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "TMACRO":'
|
|
|
|
%iftoken TMACRO ; With a comment!
|
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty TMACRO ; With a comment!
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'N "1":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken 1
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty 1
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'C "1":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken 1 ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' ntoken'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
%ifempty 1 ; With a comment!
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'N "+1":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken +1
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' ntoken'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
%ifempty +1
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "+1":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken +1 ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' ntoken'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
%ifempty +1 ; With a comment!
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'N "1 2":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken 1 2
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty 1 2
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'C "1 2":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken 1 2 ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' ntoken'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
%ifempty 1 2 ; With a comment!
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'N "1,2":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken 1,2
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty 1,2
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'C "1,2":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken 1,2 ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty 1,2 ; With a comment!
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'N "foo":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken foo
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty foo
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'C "foo":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken foo ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty foo ; With a comment!
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'N "foo bar":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken foo bar
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty foo bar
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'C "foo bar":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken foo bar ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty foo bar ; With a comment!
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'N "%":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken %
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' ntoken'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
%ifempty %
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "%":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken % ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty % ; With a comment!
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'N "+foo":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken +foo
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' ntoken'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
%ifempty +foo
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "+foo":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken +foo ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty +foo ; With a comment!
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|
|
|
|
db 'N "<<":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken <<
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' ntoken'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
%ifempty <<
|
|
|
|
db ' empty'
|
|
|
|
%else
|
|
|
|
db ' nempty'
|
|
|
|
%endif
|
|
|
|
db 10
|
|
|
|
db 'C "<<":'
|
2008-02-17 08:41:25 +08:00
|
|
|
%iftoken << ; With a comment!
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' token'
|
|
|
|
%else
|
|
|
|
db ' ntoken'
|
|
|
|
%endif
|
|
|
|
%ifempty << ; With a comment!
|
|
|
|
db ' empty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%else
|
2008-02-17 09:01:40 +08:00
|
|
|
db ' nempty'
|
2008-02-17 08:41:25 +08:00
|
|
|
%endif
|
2008-02-17 09:01:40 +08:00
|
|
|
db 10
|