Skip to content

Commit 5afe94a

Browse files
committed
! not followed by important is just another declaration value.
1 parent 9a5f5a0 commit 5afe94a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

declaration_list.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414

1515
"z:x!;a:b", [
16-
["error", "invalid"],
16+
["declaration", "z", [["ident", "x"], "!"], false],
1717
["declaration", "a", [["ident", "b"]], false]
1818
],
1919

one_declaration.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@
2323
" ", ["number", "9000", 9000, "integer"], " "
2424
], true],
2525

26-
"foo: 9000 /* Dotted capital I */!İmportant", ["error", "invalid"],
27-
"foo: 9000 !important!", ["error", "invalid"],
26+
"foo: 9000 /* Dotted capital I */!İmportant", ["declaration", "foo", [
27+
" ", ["number", "9000", 9000, "integer"], " ", "!", ["ident", "İmportant"]
28+
], false],
29+
"foo: 9000 !important!", ["declaration", "foo", [
30+
" ", ["number", "9000", 9000, "integer"], " ", "!", ["ident", "important"], "!"
31+
], false],
2832

2933
"foo: 9000 important", ["declaration", "foo", [
3034
" ", ["number", "9000", 9000, "integer"], " ", ["ident", "important"]

0 commit comments

Comments
 (0)