Merge pull request #490 from chearon/css-num-fix

CSS example: parse decimal form of nums correctly
master
Futago-za Ryuu 8 years ago committed by GitHub
commit 35f3c5267a

@ -292,7 +292,7 @@ name
= chars:nmchar+ { return chars.join(""); }
num
= [+-]? ([0-9]+ / [0-9]* "." [0-9]+) ("e" [+-]? [0-9]+)? {
= [+-]? ([0-9]* "." [0-9]+ / [0-9]+) ("e" [+-]? [0-9]+)? {
return parseFloat(text());
}

Loading…
Cancel
Save