1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-26 16:45:12 -04:00

Prepare the CSS scanner for tokenizing ~ and + as char tokens

They are used for "E ~ F" and "E + F" element relations.
This commit is contained in:
Jonas Fonseca 2005-12-13 16:35:41 +01:00 committed by Jonas Fonseca
parent d1635d6970
commit 2eebef098d

View File

@ -48,7 +48,7 @@ static const struct scan_table_info css_scan_table_info[] = {
SCAN_TABLE_STRING("\\_", CSS_CHAR_IDENT | CSS_CHAR_IDENT_START),
/* This should contain mostly used char tokens like ':' and maybe a few
* garbage chars that people might put in their CSS code */
SCAN_TABLE_STRING("[({})];:,.>", CSS_CHAR_TOKEN),
SCAN_TABLE_STRING("[({})];:,.>+~", CSS_CHAR_TOKEN),
SCAN_TABLE_STRING("<![CDATA]->", CSS_CHAR_SGML_MARKUP),
SCAN_TABLE_END,