forked from AuroraMiddleware/gtk
css: Fix tokenization of CDO
A CDO is 4 characters: <!--, not 3 as our tokenizer was pretending.
This commit is contained in:
parent
7db58d5f8d
commit
90676540ec
@ -1349,7 +1349,7 @@ gtk_css_tokenizer_read_token (GtkCssTokenizer *tokenizer,
|
|||||||
tokenizer->data[3] == '-')
|
tokenizer->data[3] == '-')
|
||||||
{
|
{
|
||||||
gtk_css_token_init (token, GTK_CSS_TOKEN_CDO);
|
gtk_css_token_init (token, GTK_CSS_TOKEN_CDO);
|
||||||
gtk_css_tokenizer_consume (tokenizer, 3, 3);
|
gtk_css_tokenizer_consume (tokenizer, 4, 4);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user