Skip to content

Commit 8dbb73e

Browse files
committed
Add Delimiter::Bang for CSS Custom Properties.
1 parent 4aa623c commit 8dbb73e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "cssparser"
4-
version = "0.3.6"
4+
version = "0.3.7"
55
authors = [ "Simon Sapin <[email protected]>" ]
66

77
description = "Rust implementation of CSS Syntax Level 3"

src/parser.rs

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ pub mod Delimiter {
124124
pub const CurlyBracketBlock: Delimiters = Delimiters { bits: 1 << 1 };
125125
/// The delimiter set with only the `;` semicolon
126126
pub const Semicolon: Delimiters = Delimiters { bits: 1 << 2 };
127+
/// The delimiter set with only the `!` exclamation point
128+
pub const Bang: Delimiters = Delimiters { bits: 1 << 3 };
127129
/// The delimiter set with only the `,` comma
128130
pub const Comma: Delimiters = Delimiters { bits: 1 << 4 };
129131
}

0 commit comments

Comments
 (0)