summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index e7a4fe8..258067f 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -108,6 +108,8 @@ hubbub_error hubbub_parser_setopt(hubbub_parser *parser,
case HUBBUB_PARSER_CONTENT_MODEL:
toktype = HUBBUB_TOKENISER_CONTENT_MODEL;
break;
+ default:
+ return HUBBUB_INVALID;
}
return hubbub_tokeniser_setopt(parser->tok, toktype,