@@ -287,10 +287,10 @@ impl<'a, 'b, 'i> DeclarationParser<'i> for ViewportRuleParser<'a, 'b> {
287
287
-> Result < Vec < ViewportDescriptorDeclaration > , ParseError < ' i > > {
288
288
macro_rules! declaration {
289
289
( $declaration: ident( $parse: expr) ) => {
290
- declaration!( $declaration( value: try!( $parse( input) ) ,
291
- important: input. try( parse_important) . is_ok( ) ) )
290
+ declaration!( $declaration( value@ try!( $parse( input) ) ,
291
+ important@ input. try( parse_important) . is_ok( ) ) )
292
292
} ;
293
- ( $declaration: ident( value: $value: expr, important: $important: expr) ) => {
293
+ ( $declaration: ident( value@ $value: expr, important@ $important: expr) ) => {
294
294
ViewportDescriptorDeclaration :: new(
295
295
self . context. stylesheet_origin,
296
296
ViewportDescriptor :: $declaration( $value) ,
@@ -306,8 +306,8 @@ impl<'a, 'b, 'i> DeclarationParser<'i> for ViewportRuleParser<'a, 'b> {
306
306
let shorthand = parse_shorthand( self . context, input) ?;
307
307
let important = input. try( parse_important) . is_ok( ) ;
308
308
309
- Ok ( vec![ declaration!( $min( value: shorthand. 0 , important: important) ) ,
310
- declaration!( $max( value: shorthand. 1 , important: important) ) ] )
309
+ Ok ( vec![ declaration!( $min( value@ shorthand. 0 , important@ important) ) ,
310
+ declaration!( $max( value@ shorthand. 1 , important@ important) ) ] )
311
311
} }
312
312
}
313
313
0 commit comments