@@ -522,30 +522,30 @@ impl<Sink: TokenSink> XmlTokenizer<Sink> {
522
522
macro_rules! shorthand (
523
523
( $me: ident : emit $c: expr ) => ( $me. emit_char( $c) ) ;
524
524
( $me: ident : create_tag $kind: ident $c: expr ) => ( $me. create_tag( $kind, $c) ) ;
525
- ( $me: ident : push_tag $c: expr ) => ( $me. current_tag_name. borrow_mut( ) . push_char( $c) ) ;
525
+ ( $me: ident : push_tag $c: expr ) => ( $me. current_tag_name. borrow_mut( ) . push_char( $c) ) ;
526
526
( $me: ident : discard_tag $input: expr ) => ( $me. discard_tag( $input) ) ;
527
527
( $me: ident : discard_char ) => ( $me. discard_char( ) ) ;
528
- ( $me: ident : push_temp $c: expr ) => ( $me. temp_buf. borrow_mut( ) . push_char( $c) ) ;
528
+ ( $me: ident : push_temp $c: expr ) => ( $me. temp_buf. borrow_mut( ) . push_char( $c) ) ;
529
529
( $me: ident : emit_temp ) => ( $me. emit_temp_buf( ) ) ;
530
530
( $me: ident : clear_temp ) => ( $me. clear_temp_buf( ) ) ;
531
531
( $me: ident : create_attr $c: expr ) => ( $me. create_attribute( $c) ) ;
532
- ( $me: ident : push_name $c: expr ) => ( $me. current_attr_name. borrow_mut( ) . push_char( $c) ) ;
533
- ( $me: ident : push_value $c: expr ) => ( $me. current_attr_value. borrow_mut( ) . push_char( $c) ) ;
534
- ( $me: ident : append_value $c: expr ) => ( $me. current_attr_value. borrow_mut( ) . push_tendril( $c) ) ;
535
- ( $me: ident : push_comment $c: expr ) => ( $me. current_comment. borrow_mut( ) . push_char( $c) ) ;
536
- ( $me: ident : append_comment $c: expr ) => ( $me. current_comment. borrow_mut( ) . push_slice( $c) ) ;
532
+ ( $me: ident : push_name $c: expr ) => ( $me. current_attr_name. borrow_mut( ) . push_char( $c) ) ;
533
+ ( $me: ident : push_value $c: expr ) => ( $me. current_attr_value. borrow_mut( ) . push_char( $c) ) ;
534
+ ( $me: ident : append_value $c: expr ) => ( $me. current_attr_value. borrow_mut( ) . push_tendril( $c) ) ;
535
+ ( $me: ident : push_comment $c: expr ) => ( $me. current_comment. borrow_mut( ) . push_char( $c) ) ;
536
+ ( $me: ident : append_comment $c: expr ) => ( $me. current_comment. borrow_mut( ) . push_slice( $c) ) ;
537
537
( $me: ident : emit_comment ) => ( $me. emit_current_comment( ) ) ;
538
- ( $me: ident : clear_comment ) => ( $me. current_comment. borrow_mut( ) . clear( ) ) ;
539
- ( $me: ident : create_doctype ) => ( * $me. current_doctype. borrow_mut( ) = Doctype :: default ( ) ) ;
540
- ( $me: ident : push_doctype_name $c: expr ) => ( option_push( & mut $me. current_doctype. borrow_mut( ) . name, $c) ) ;
541
- ( $me: ident : push_doctype_id $k: ident $c: expr ) => ( option_push( & mut $me. doctype_id( $k) , $c) ) ;
538
+ ( $me: ident : clear_comment ) => ( $me. current_comment. borrow_mut( ) . clear( ) ) ;
539
+ ( $me: ident : create_doctype ) => ( * $me. current_doctype. borrow_mut( ) = Doctype :: default ( ) ) ;
540
+ ( $me: ident : push_doctype_name $c: expr ) => ( option_push( & mut $me. current_doctype. borrow_mut( ) . name, $c) ) ;
541
+ ( $me: ident : push_doctype_id $k: ident $c: expr ) => ( option_push( & mut $me. doctype_id( $k) , $c) ) ;
542
542
( $me: ident : clear_doctype_id $k: ident ) => ( $me. clear_doctype_id( $k) ) ;
543
543
( $me: ident : emit_doctype ) => ( $me. emit_current_doctype( ) ) ;
544
544
( $me: ident : error ) => ( $me. bad_char_error( ) ) ;
545
545
( $me: ident : error_eof ) => ( $me. bad_eof_error( ) ) ;
546
546
( $me: ident : create_pi $c: expr ) => ( $me. create_pi( $c) ) ;
547
- ( $me: ident : push_pi_target $c: expr ) => ( $me. current_pi_target. borrow_mut( ) . push_char( $c) ) ;
548
- ( $me: ident : push_pi_data $c: expr ) => ( $me. current_pi_data. borrow_mut( ) . push_char( $c) ) ;
547
+ ( $me: ident : push_pi_target $c: expr ) => ( $me. current_pi_target. borrow_mut( ) . push_char( $c) ) ;
548
+ ( $me: ident : push_pi_data $c: expr ) => ( $me. current_pi_data. borrow_mut( ) . push_char( $c) ) ;
549
549
( $me: ident : set_empty_tag ) => ( $me. set_empty_tag( ) ) ;
550
550
) ;
551
551
0 commit comments