Skip to content

Commit

Permalink
Add conditional #foreach test
Browse files Browse the repository at this point in the history
  • Loading branch information
sideeffect42 committed Feb 7, 2024
1 parent df8d604 commit 0f9e264
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions test/43-foreach-conditional/expect.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1
2
3
12 changes: 12 additions & 0 deletions test/43-foreach-conditional/input
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#define X 1
#define Y NO
#ifbool X
#foreach x 1 2 3
%{x}
#endforeach
#endif
#ifbool Y
#foreach y a b c
%{y}
#endforeach
#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0f9e264

Please sign in to comment.