diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-30 22:32:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-30 22:32:24 +0200 |
| commit | 17e89468847735df10381c47c46c7d82d33cc463 (patch) | |
| tree | b0ce55f7d62aac399717aac3ab5a76c981c66f65 /src/syntax/token.rs | |
| parent | 911b5818344e85a58da9db895a333d22484b7ae7 (diff) | |
Remove color literals (#39)
Diffstat (limited to 'src/syntax/token.rs')
| -rw-r--r-- | src/syntax/token.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/syntax/token.rs b/src/syntax/token.rs index 25062264..32a14d58 100644 --- a/src/syntax/token.rs +++ b/src/syntax/token.rs @@ -1,4 +1,3 @@ -use crate::color::RgbaColor; use crate::geom::{AngularUnit, LengthUnit}; /// A minimal semantic entity of source code. @@ -145,8 +144,6 @@ pub enum Token<'s> { Percent(f64), /// A fraction unit: `3fr`. Fraction(f64), - /// A color value: `#20d82a`. - Color(RgbaColor), /// A quoted string: `"..."`. Str(StrToken<'s>), /// Two slashes followed by inner contents, terminated with a newline: @@ -275,7 +272,6 @@ impl<'s> Token<'s> { Self::Angle(_, _) => "angle", Self::Percent(_) => "percentage", Self::Fraction(_) => "`fr` value", - Self::Color(_) => "color", Self::Str(_) => "string", Self::LineComment(_) => "line comment", Self::BlockComment(_) => "block comment", |
