svn path=/trunk/yasm/; revision=505
EXTRA_DIST += \
src/preprocs/yapp/tests/define.asm \
- src/preprocs/yapp/tests/define.pre
+ src/preprocs/yapp/tests/define.pre \
+ src/preprocs/yapp/tests/ifdef.asm \
+ src/preprocs/yapp/tests/ifdef.pre \
CLEANFILES += \
- define.yp
+ define.yp \
+ ifdef.yp
--- /dev/null
+%ifdef foo
+ mov ax, foo
+%endif
+%ifdef bar
+ mov ax, bar
+%endif
+%define foo 5
+%ifdef foo
+ mov ax, foo
+%endif
+%ifdef bar
+ mov ax, bar
+%endif
--- /dev/null
+
+%line 3+1 ./src/preprocs/yapp/tests/ifdef.asm
+
+%line 6+1 ./src/preprocs/yapp/tests/ifdef.asm
+
+
+ mov ax, 5
+
+
+%line 13+1 ./src/preprocs/yapp/tests/ifdef.asm
EXTRA_DIST += \
src/preprocs/yapp/tests/define.asm \
- src/preprocs/yapp/tests/define.pre
+ src/preprocs/yapp/tests/define.pre \
+ src/preprocs/yapp/tests/ifdef.asm \
+ src/preprocs/yapp/tests/ifdef.pre \
CLEANFILES += \
- define.yp
+ define.yp \
+ ifdef.yp
--- /dev/null
+%ifdef foo
+ mov ax, foo
+%endif
+%ifdef bar
+ mov ax, bar
+%endif
+%define foo 5
+%ifdef foo
+ mov ax, foo
+%endif
+%ifdef bar
+ mov ax, bar
+%endif
--- /dev/null
+
+%line 3+1 ./src/preprocs/yapp/tests/ifdef.asm
+
+%line 6+1 ./src/preprocs/yapp/tests/ifdef.asm
+
+
+ mov ax, 5
+
+
+%line 13+1 ./src/preprocs/yapp/tests/ifdef.asm