mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
parent
c80fa33864
commit
6fd46b5e6a
21 changed files with 104 additions and 125 deletions
|
@ -18,7 +18,7 @@ macro_rules! define_css_keyword_enum {
|
|||
impl $name {
|
||||
pub fn parse(input: &mut ::cssparser::Parser) -> Result<$name, ()> {
|
||||
match_ignore_ascii_case! { try!(input.expect_ident()),
|
||||
$( $css => Ok($name::$variant) ),+
|
||||
$( $css => Ok($name::$variant), )+
|
||||
_ => Err(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue