summaryrefslogtreecommitdiff
path: root/src/parse/propstrings.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-12-01 14:17:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-12-01 14:17:34 +0000
commit7d11de5da22b343716734be3be1810cb3163a696 (patch)
treeb7e092c889747cde6ffcd1eaad488c6ed10670c7 /src/parse/propstrings.h
parent9e8f4efc94c896b4df2110272f42d2c93e1512d4 (diff)
downloadlibcss-7d11de5da22b343716734be3be1810cb3163a696.tar.gz
libcss-7d11de5da22b343716734be3be1810cb3163a696.tar.bz2
Retain pointer to dictionary entries so we don't have to rediscover it later.
svn path=/trunk/libcss/; revision=5862
Diffstat (limited to 'src/parse/propstrings.h')
-rw-r--r--src/parse/propstrings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parse/propstrings.h b/src/parse/propstrings.h
index 24858c0..a0aad04 100644
--- a/src/parse/propstrings.h
+++ b/src/parse/propstrings.h
@@ -11,6 +11,9 @@
#include "utils/utils.h"
enum {
+ /* Universal selector */
+ UNIVERSAL,
+
/* At-rules */
CHARSET, IMPORT, MEDIA, PAGE,
@@ -69,6 +72,8 @@ static struct {
const char *data;
size_t len;
} stringmap[LAST_KNOWN] = {
+ { "*", SLEN("*") },
+
{ "charset", SLEN("charset") },
{ "import", SLEN("import") },
{ "media", SLEN("media") },