@@ -39,64 +39,64 @@ is $match<alt>.ast, 'bazbaz', 'action method got called, make() worked';
39
39
40
40
41
41
grammar LTM {
42
- proto token lit { * }
42
+ proto token lit {* }
43
43
token lit :sym <foo > { 'foo' }
44
44
token lit :sym <foobar > { 'foobar' }
45
45
token lit :sym <foob > { 'foob' }
46
46
47
- proto token cclass1 { * }
47
+ proto token cclass1 {* }
48
48
token cclass1 :sym <a > { <[ 0..9 ] > }
49
49
token cclass1 :sym <b > { <[ 0..9 ] > '.' <[ 0..9 ] > }
50
50
51
- proto token cclass2 { * }
51
+ proto token cclass2 {* }
52
52
token cclass2 :sym <a > { <[ 0..9 ] > '.' <[ 0..9 ] > }
53
53
token cclass2 :sym <b > { <[ 0..9 ] > }
54
54
55
- proto token cclass3 { * }
55
+ proto token cclass3 {* }
56
56
token cclass3 :sym <a > { \d\d }
57
57
token cclass3 :sym <b > { 1 }
58
58
59
- proto token cclass4 { * }
59
+ proto token cclass4 {* }
60
60
token cclass4 :sym <a > { '.' }
61
61
token cclass4 :sym <b > { \W\W }
62
62
63
- proto token quant1 { * }
63
+ proto token quant1 {* }
64
64
token quant1 :sym <a > { ab? }
65
65
token quant1 :sym <b > { a }
66
66
67
- proto token quant2 { * }
67
+ proto token quant2 {* }
68
68
token quant2 :sym <a > { a }
69
69
token quant2 :sym <c > { ab+ }
70
70
token quant2 :sym <b > { ab? }
71
71
72
- proto token quant3 { * }
72
+ proto token quant3 {* }
73
73
token quant3 :sym <a > { aaa }
74
74
token quant3 :sym <b > { a* }
75
75
76
- proto token declok { <*> }
76
+ proto token declok {* }
77
77
token declok :sym <a > {
78
78
:my $ x := 42;
79
79
.+
80
80
}
81
81
token declok :sym <b > { aa }
82
82
83
- proto token cap1 { <*> }
83
+ proto token cap1 {* }
84
84
token cap1 :sym <a > { (.+ ) }
85
85
token cap1 :sym <b > { aa }
86
86
87
- proto token cap2 { <*> }
87
+ proto token cap2 {* }
88
88
token cap2 :sym <a > { $ < x > =[.+ ] }
89
89
token cap2 :sym <b > { aa }
90
90
91
- proto token ass1 { <*> }
91
+ proto token ass1 {* }
92
92
token ass1 :sym <a > { a <?{ 1 }> .+ }
93
93
token ass1 :sym <b > { aa }
94
94
95
- proto token ass2 { <*> }
95
+ proto token ass2 {* }
96
96
token ass2 :sym <a > { a <!{ 0 }> .+ }
97
97
token ass2 :sym <b > { aa }
98
98
99
- proto token block { <*> }
99
+ proto token block {* }
100
100
token block :sym <a > { a { } .+ }
101
101
token block :sym <b > { aa }
102
102
}
0 commit comments