1586 |
} |
} |
1587 |
|
|
1588 |
!!!parse-error (type => 'string after DOCTYPE name'); |
!!!parse-error (type => 'string after DOCTYPE name'); |
1589 |
|
delete $self->{current_token}->{correct}; |
1590 |
|
|
1591 |
$self->{state} = BOGUS_DOCTYPE_STATE; |
$self->{state} = BOGUS_DOCTYPE_STATE; |
1592 |
# next-input-character is already done |
# next-input-character is already done |
1593 |
redo A; |
redo A; |
1631 |
redo A; |
redo A; |
1632 |
} else { |
} else { |
1633 |
!!!parse-error (type => 'string after PUBLIC'); |
!!!parse-error (type => 'string after PUBLIC'); |
1634 |
|
delete $self->{current_token}->{correct}; |
1635 |
|
|
1636 |
$self->{state} = BOGUS_DOCTYPE_STATE; |
$self->{state} = BOGUS_DOCTYPE_STATE; |
1637 |
!!!next-input-character; |
!!!next-input-character; |
1638 |
redo A; |
redo A; |
1738 |
redo A; |
redo A; |
1739 |
} else { |
} else { |
1740 |
!!!parse-error (type => 'string after PUBLIC literal'); |
!!!parse-error (type => 'string after PUBLIC literal'); |
1741 |
|
delete $self->{current_token}->{correct}; |
1742 |
|
|
1743 |
$self->{state} = BOGUS_DOCTYPE_STATE; |
$self->{state} = BOGUS_DOCTYPE_STATE; |
1744 |
!!!next-input-character; |
!!!next-input-character; |
1745 |
redo A; |
redo A; |
1783 |
redo A; |
redo A; |
1784 |
} else { |
} else { |
1785 |
!!!parse-error (type => 'string after SYSTEM'); |
!!!parse-error (type => 'string after SYSTEM'); |
1786 |
|
delete $self->{current_token}->{correct}; |
1787 |
|
|
1788 |
$self->{state} = BOGUS_DOCTYPE_STATE; |
$self->{state} = BOGUS_DOCTYPE_STATE; |
1789 |
!!!next-input-character; |
!!!next-input-character; |
1790 |
redo A; |
redo A; |
1880 |
redo A; |
redo A; |
1881 |
} else { |
} else { |
1882 |
!!!parse-error (type => 'string after SYSTEM literal'); |
!!!parse-error (type => 'string after SYSTEM literal'); |
1883 |
|
delete $self->{current_token}->{correct}; |
1884 |
|
|
1885 |
$self->{state} = BOGUS_DOCTYPE_STATE; |
$self->{state} = BOGUS_DOCTYPE_STATE; |
1886 |
!!!next-input-character; |
!!!next-input-character; |
1887 |
redo A; |
redo A; |
1891 |
$self->{state} = DATA_STATE; |
$self->{state} = DATA_STATE; |
1892 |
!!!next-input-character; |
!!!next-input-character; |
1893 |
|
|
|
delete $self->{current_token}->{correct}; |
|
1894 |
!!!emit ($self->{current_token}); # DOCTYPE |
!!!emit ($self->{current_token}); # DOCTYPE |
1895 |
|
|
1896 |
redo A; |
redo A; |
1899 |
$self->{state} = DATA_STATE; |
$self->{state} = DATA_STATE; |
1900 |
## reconsume |
## reconsume |
1901 |
|
|
|
delete $self->{current_token}->{correct}; |
|
1902 |
!!!emit ($self->{current_token}); # DOCTYPE |
!!!emit ($self->{current_token}); # DOCTYPE |
1903 |
|
|
1904 |
redo A; |
redo A; |