File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ grammar CSS::Specification:ver<0.4.16> {
1919 }
2020 rule rule-spec {
2121 :my @ * PROP-NAMES = [];
22- \t ? <rule - ref > ':' ? ' =' <values >
22+ \t ? <rule - ref > '=' <values >
2323 }
2424 rule func-spec {
2525 :my @ * PROP-NAMES = [];
26- \t ? <func - ref > ':' ? ' =' <func - proto >
26+ \t ? <func - ref > '=' <func - proto >
2727 }
2828 rule func-proto { <id > '(' ~ ')' <signature = .seq >? }
2929 token unexpected { \N + }
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ method func-proto($/) {
7373 my $ func = $ < id > . ast;
7474 my % proto = : $ func , : $ synopsis ;
7575 % proto <signature > = . ast with $ < signature > ;
76+
7677 with % ! protos {$ func } {
7778 warn " inconsistant function declaration: { $ synopsis . raku} vs { . <synopsis >. raku} "
7879 unless . <signature > eqv % proto <signature >;
You can’t perform that action at this time.
0 commit comments