aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/simplify-tree/valid/nested_alternations_in_macro_call
blob: d40a68db2b5dae45fa9066d2645d891c1a68b8fb (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
my_macro([[1 2] [3 4]])

# (macro_call (@ 1 0-8) ‘my_macro’
#   (.arguments
#     (string (@ 1 11-12) ‘1’)
#   )
# )
# (macro_call (@ 1 0-8) ‘my_macro’
#   (.arguments
#     (string (@ 1 13-14) ‘2’)
#   )
# )
# (macro_call (@ 1 0-8) ‘my_macro’
#   (.arguments
#     (string (@ 1 17-18) ‘3’)
#   )
# )
# (macro_call (@ 1 0-8) ‘my_macro’
#   (.arguments
#     (string (@ 1 19-20) ‘4’)
#   )
# )
# :1:10–11: warning: alternation inside alternation is unnecessary
#  my_macro([[1 2] [3 4]])
#            ^
# :1:16–17: warning: alternation inside alternation is unnecessary
#  my_macro([[1 2] [3 4]])
#                  ^