File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ReadmeFromPod]
4
4
; if you want to disable generating README.md from main module's pod, then:
5
- disable = true
5
+ enabled = false
6
6
[UploadToZef]
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ grammar CSS::Grammar:ver<0.3.10> {
38
38
token uint {\d + }
39
39
token op ($ chr ) {$ chr }
40
40
41
+ # stringchar-regular: printable ASCII chars, except: \ ' "
41
42
token stringchar-regular {<[ \x20 \! \# \$ \% \& \(..\[ \] ..\~ ] >+ }
42
43
proto token stringchar {* }
43
44
token stringchar :sym <escape > { <escape > }
@@ -84,7 +85,7 @@ grammar CSS::Grammar:ver<0.3.10> {
84
85
rule property { <.ws>? <Ident> ' :' }
85
86
rule end-decl { ' ;' | <?before ' }'> | $ }
86
87
87
- rule color-range { <num>$<percentage>=[ \%]? }
88
+ rule color-range { <num>[ $<percentage>=\%]? }
88
89
89
90
proto rule color {*}
90
91
rule color:sym<rgb> {:i ' rgb ('
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class CSS::Grammar::AST {
68
68
}
69
69
70
70
if % terms {$ key }: exists {
71
- $ . warning ( " repeated term " ~ $ key , $ value ) ;
71
+ warn " repeated term " ~ $ key ~ ' : ' ~ $ value ;
72
72
return Any ;
73
73
}
74
74
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ class CSS::Grammar::Actions {
184
184
method color-range ($/ ) {
185
185
my $ range = $ < num > . ast. value ;
186
186
$ range *= 2.55
187
- if ~ $ < percentage > ;
187
+ if $ < percentage > ;
188
188
189
189
# clip out-of-range colors, see
190
190
# http://www.w3.org/TR/CSS21/syndata.html#value-def-color
You can’t perform that action at this time.
0 commit comments