4901 |
} elsif ($token->{type} == END_OF_FILE_TOKEN) { |
} elsif ($token->{type} == END_OF_FILE_TOKEN) { |
4902 |
unless ($self->{open_elements}->[-1]->[1] eq 'html' and |
unless ($self->{open_elements}->[-1]->[1] eq 'html' and |
4903 |
@{$self->{open_elements}} == 1) { # redundant, maybe |
@{$self->{open_elements}} == 1) { # redundant, maybe |
|
!!!cp ('t259.1'); |
|
4904 |
!!!parse-error (type => 'in body:#eof'); |
!!!parse-error (type => 'in body:#eof'); |
4905 |
|
!!!cp ('t259.1'); |
4906 |
|
# |
4907 |
} else { |
} else { |
4908 |
!!!cp ('t259.2'); |
!!!cp ('t259.2'); |
4909 |
|
# |
4910 |
} |
} |
4911 |
|
|
4912 |
## Stop parsing |
## Stop parsing |