Skip to content

Commit 8370f3f

Browse files
committed
undo 87ac055
1 parent 87ac055 commit 8370f3f

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

STD.pm6

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,6 @@ proto token scope_declarator is endsym<nofun> {*}
233233
token category:package_declarator { <sym> }
234234
proto token package_declarator is endsym<keyspace> {*}
235235

236-
token category:combinator_declarator { <sym> }
237-
proto token combinator_declarator is endsym<keyspace> {*}
238-
239236
token category:multi_declarator { <sym> }
240237
proto token multi_declarator is endsym<keyspace> {*}
241238

@@ -1575,6 +1572,12 @@ grammar P6 is STD {
15751572
}
15761573
rule statement_control:default { <sym> <block> }
15771574

1575+
rule term:winner { <sym> <xblock> }
1576+
rule term:combine { <sym> <xblock> }
1577+
rule statement_control:more { <sym> <xblock> }
1578+
rule statement_control:done { <sym> <xblock> }
1579+
rule statement_control:wait { <sym> <xblock> }
1580+
15781581
token statement_prefix:BEGIN { :my %*MYSTERY; <sym> <blast> <.explain_mystery> }
15791582
token statement_prefix:CHECK { <sym> <blast> }
15801583
token statement_prefix:FINAL { <sym> <blast> }
@@ -1861,17 +1864,9 @@ grammar P6 is STD {
18611864
| <routine_declarator>
18621865
| <regex_declarator>
18631866
| <type_declarator>
1864-
| <combinator_declarator>
18651867
]
18661868
}
18671869

1868-
rule combinator_declarator:winner { <sym> <xblock> }
1869-
rule combinator_declarator:combine { <sym> <xblock> }
1870-
rule combinator_declarator:more { <sym> <xblock> }
1871-
rule combinator_declarator:done { <sym> <xblock> }
1872-
rule combinator_declarator:catch { <sym> <xblock> }
1873-
rule combinator_declarator:wait { <sym> <xblock> }
1874-
18751870
rule multi_declarator:multi {
18761871
:my $*MULTINESS = 'multi';
18771872
<sym> [ <declarator> || <routine_def('multi')> || <.panic: 'Malformed multi'> ]

0 commit comments

Comments
 (0)