diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-03-29 12:21:50 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-03-29 12:21:50 +0000 |
commit | 682ef77b1126a284c47b3b8530aaf829bf4396a1 (patch) | |
tree | 3590d3464c38be0f4789f1bd832312da4aae7db2 /src/parse | |
parent | c8db891b1b580fb67f04bf5a3218d9ea76bc81db (diff) | |
download | libcss-682ef77b1126a284c47b3b8530aaf829bf4396a1.tar.gz libcss-682ef77b1126a284c47b3b8530aaf829bf4396a1.tar.bz2 |
Add common CSS tokens to stylesheet string table.
svn path=/trunk/libcss/; revision=13771
Diffstat (limited to 'src/parse')
-rw-r--r-- | src/parse/propstrings.c | 7 | ||||
-rw-r--r-- | src/parse/propstrings.h | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c index 7a4abd5..35466eb 100644 --- a/src/parse/propstrings.c +++ b/src/parse/propstrings.c @@ -26,6 +26,13 @@ static css__propstrings_ctx css__propstrings; const stringmap_entry stringmap[LAST_KNOWN] = { { "*", SLEN("*") }, + { ":", SLEN(":") }, + { ",", SLEN(",") }, + { ";", SLEN(";") }, + { "{", SLEN("{") }, + { "}", SLEN("}") }, + { "0", SLEN("0") }, + { "charset", SLEN("charset") }, { "import", SLEN("import") }, { "media", SLEN("media") }, diff --git a/src/parse/propstrings.h b/src/parse/propstrings.h index 01108a8..2ed0743 100644 --- a/src/parse/propstrings.h +++ b/src/parse/propstrings.h @@ -14,6 +14,10 @@ enum { /* Universal selector */ UNIVERSAL, + /* Common tokens */ + COLON, COMMA, SEMICOLON, OPEN_CURLY_BRACE, CLOSE_CURLY_BRACE, + ZERO_VALUE, + /* At-rules */ CHARSET, LIBCSS_IMPORT, MEDIA, NAMESPACE, FONT_FACE, PAGE, |