Skip to content

Commit 5389757

Browse files
author
bors-servo
committed
Auto merge of #88 - servo:bang, r=SimonSapin
Add Delimiter::Bang for CSS Custom Properties. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/88) <!-- Reviewable:end -->
2 parents 4aa623c + 8dbb73e commit 5389757

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)