aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/make-tree/valid/macro_call
blob: 1e43d28acfc673f299fc3a0e305cdd8f99a1145d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
mac0()
mac1(0)
mac2(1 "a")
mac3("x" "y" "z")
mac0(.)

# (macro_call (@ 1 0-4) ‘mac0’
#   (.arguments nil)
# )
# (macro_call (@ 2 0-4) ‘mac1’
#   (.arguments
#     (string (@ 2 5-6) ‘0’)
#   )
# )
# (macro_call (@ 3 0-4) ‘mac2’
#   (.arguments
#     (string (@ 3 5-6) ‘1’)
#     (string (@ 3 7-10) ‘"a"’)
#   )
# )
# (macro_call (@ 4 0-4) ‘mac3’
#   (.arguments
#     (string (@ 4 5-8) ‘"x"’)
#     (string (@ 4 9-12) ‘"y"’)
#     (string (@ 4 13-16) ‘"z"’)
#   )
# )
# (macro_call (@ 5 0-4) ‘mac0’
#   (.arguments
#     (nothing (@ 5 5-6))
#   )
# )