css: Fix tokenization of CDO

A CDO is 4 characters: <!--, not 3 as our tokenizer
was pretending.
This commit is contained in:
Matthias Clasen 2020-10-31 00:37:39 -04:00
parent 7db58d5f8d
commit 90676540ec

View File

@ -1349,7 +1349,7 @@ gtk_css_tokenizer_read_token (GtkCssTokenizer *tokenizer,
tokenizer->data[3] == '-')
{
gtk_css_token_init (token, GTK_CSS_TOKEN_CDO);
gtk_css_tokenizer_consume (tokenizer, 3, 3);
gtk_css_tokenizer_consume (tokenizer, 4, 4);
}
else
{