From 7d11de5da22b343716734be3be1810cb3163a696 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 1 Dec 2008 14:17:34 +0000 Subject: Retain pointer to dictionary entries so we don't have to rediscover it later. svn path=/trunk/libcss/; revision=5862 --- src/parse/propstrings.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/parse/propstrings.h') 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") }, -- cgit v1.2.3