diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-18 16:18:08 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-18 16:18:08 +0000 |
commit | 4658a093bf5cfc6c1961e6974772bdead4dda2f4 (patch) | |
tree | ee9b90dd5e07e7eb7829fc333e279dd96110f19c /src/libserver/css/css_tokeniser.cxx | |
parent | e2799764c4cd50a5efa220c76648eae667cd4491 (diff) | |
download | rspamd-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.cxx | 3 |
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] == '!' |