545 |
redo A; |
redo A; |
546 |
} elsif ($self->{next_char} == 0x003E) { # > |
} elsif ($self->{next_char} == 0x003E) { # > |
547 |
!!!cp (21); |
!!!cp (21); |
548 |
!!!parse-error (type => 'empty start tag'); |
!!!parse-error (type => 'empty start tag', |
549 |
|
line => $self->{line_prev}, |
550 |
|
column => $self->{column_prev}); |
551 |
$self->{state} = DATA_STATE; |
$self->{state} = DATA_STATE; |
552 |
!!!next-input-character; |
!!!next-input-character; |
553 |
|
|
558 |
redo A; |
redo A; |
559 |
} elsif ($self->{next_char} == 0x003F) { # ? |
} elsif ($self->{next_char} == 0x003F) { # ? |
560 |
!!!cp (22); |
!!!cp (22); |
561 |
!!!parse-error (type => 'pio'); |
!!!parse-error (type => 'pio', |
562 |
|
line => $self->{line_prev}, |
563 |
|
column => $self->{column_prev}); |
564 |
$self->{state} = BOGUS_COMMENT_STATE; |
$self->{state} = BOGUS_COMMENT_STATE; |
565 |
$self->{current_token} = {type => COMMENT_TOKEN, data => '', |
$self->{current_token} = {type => COMMENT_TOKEN, data => '', |
566 |
line => $self->{line_prev}, |
line => $self->{line_prev}, |
664 |
redo A; |
redo A; |
665 |
} elsif ($self->{next_char} == 0x003E) { # > |
} elsif ($self->{next_char} == 0x003E) { # > |
666 |
!!!cp (31); |
!!!cp (31); |
667 |
!!!parse-error (type => 'empty end tag'); |
!!!parse-error (type => 'empty end tag', |
668 |
|
line => $self->{line_prev}, ## "<" in "</>" |
669 |
|
column => $self->{column_prev} - 1); |
670 |
$self->{state} = DATA_STATE; |
$self->{state} = DATA_STATE; |
671 |
!!!next-input-character; |
!!!next-input-character; |
672 |
redo A; |
redo A; |