summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Meyer <kevinmeyer@me.com>2020-06-27 12:05:21 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-27 13:27:10 +0200
commit22b20c381f584900adff143fc76ae5ef6e31b2cf (patch)
tree88dd1e734d970eb2f1c74e4d5edf5c5048c8595f
parentb05fd9b15bfca7320b3813ff47d699d347d7acf8 (diff)
downloadserenity-22b20c381f584900adff143fc76ae5ef6e31b2cf.zip
LibWeb: Implement remaining missing tokenizer EOF cases
-rw-r--r--Libraries/LibWeb/Parser/HTMLTokenizer.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
index c47f1faa4c..b1c2b8462e 100644
--- a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
+++ b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
@@ -1120,7 +1120,8 @@ _StartOfFunction:
}
ON_EOF
{
- TODO();
+ PARSE_ERROR();
+ EMIT_EOF;
}
ANYTHING_ELSE
{
@@ -1147,7 +1148,8 @@ _StartOfFunction:
}
ON_EOF
{
- TODO();
+ PARSE_ERROR();
+ EMIT_EOF;
}
ANYTHING_ELSE
{
@@ -1178,7 +1180,8 @@ _StartOfFunction:
}
ON_EOF
{
- TODO();
+ PARSE_ERROR();
+ EMIT_EOF;
}
ANYTHING_ELSE
{