summaryrefslogtreecommitdiffstats
path: root/src/libserver/css/css_tokeniser.cxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-02-18 16:18:08 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-02-18 16:18:08 +0000
commit4658a093bf5cfc6c1961e6974772bdead4dda2f4 (patch)
treeee9b90dd5e07e7eb7829fc333e279dd96110f19c /src/libserver/css/css_tokeniser.cxx
parente2799764c4cd50a5efa220c76648eae667cd4491 (diff)
downloadrspamd-4658a093bf5cfc6c1961e6974772bdead4dda2f4.tar.gz
rspamd-4658a093bf5cfc6c1961e6974772bdead4dda2f4.zip
[Project] Css: Declarations parsing logic skeleton
Diffstat (limited to 'src/libserver/css/css_tokeniser.cxx')
-rw-r--r--src/libserver/css/css_tokeniser.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/css/css_tokeniser.cxx b/src/libserver/css/css_tokeniser.cxx
index c875666da..be2b4f802 100644
--- a/src/libserver/css/css_tokeniser.cxx
+++ b/src/libserver/css/css_tokeniser.cxx
@@ -597,6 +597,9 @@ auto css_tokeniser::next_token(void) -> struct css_parser_token
case ';':
offset = i + 1;
return make_token<css_parser_token::token_type::semicolon_token>();
+ case ':':
+ offset = i + 1;
+ return make_token<css_parser_token::token_type::colon_token>();
case '<':
/* Maybe an xml like comment */
if (i + 3 < input.size () && input[i + 1] == '!'