README.adoc: "normand" -> "Normand"
[normand.git] / tests / pass-readme-learn-macro-exp-2.nt
CommitLineData
320644e2 1!macro A(val, is_be)
ee724c95 2 !le
320644e2
PP
3
4 !if is_be
ee724c95 5 !be
320644e2
PP
6 !end
7
ee724c95 8 [val : 16]
320644e2
PP
9!end
10
11!macro B(rep, is_be)
12 {iter = 1}
13
14 !repeat rep
15 m:A({iter * 3}, is_be)
16 {iter = iter + 1}
17 !end
18!end
19
20m:B(5, 1)
21m:B(3, 0)
22---
2300 03 00 06 00 09 00 0c 00 0f 03 00 06 00 09 00
This page took 0.02444 seconds and 4 git commands to generate.