diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-27 12:17:51 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-27 12:17:51 +0000 |
commit | c1a3d0bb1b2fd93dd6b6d6b94e7897da01bd9083 (patch) | |
tree | f9e177429a1112f1672c74f07ebfc3e0e9cb60b8 /src/lex | |
parent | e20927d57c447c7b74af4f00f1ecbd19b554ab65 (diff) | |
download | libcss-c1a3d0bb1b2fd93dd6b6d6b94e7897da01bd9083.tar.gz libcss-c1a3d0bb1b2fd93dd6b6d6b94e7897da01bd9083.tar.bz2 |
Don't intern lower-case versions of strings. Use lwc_context_string_caseless_isequal, instead.
svn path=/trunk/libcss/; revision=8815
Diffstat (limited to 'src/lex')
-rw-r--r-- | src/lex/lex.c | 1 | ||||
-rw-r--r-- | src/lex/lex.h | 12 |
2 files changed, 3 insertions, 10 deletions
diff --git a/src/lex/lex.c b/src/lex/lex.c index 26ffbb2..f2ec1c0 100644 --- a/src/lex/lex.c +++ b/src/lex/lex.c @@ -1175,7 +1175,6 @@ start: t->data.data = NULL; t->data.len = 0; t->idata = NULL; - t->ilower = NULL; t->col = lexer->currentCol; t->line = lexer->currentLine; lexer->escapeSeen = false; diff --git a/src/lex/lex.h b/src/lex/lex.h index d0fc787..3736126 100644 --- a/src/lex/lex.h +++ b/src/lex/lex.h @@ -37,14 +37,9 @@ typedef union css_lexer_optparams { */ typedef enum css_token_type { CSS_TOKEN_IDENT, CSS_TOKEN_ATKEYWORD, CSS_TOKEN_HASH, - CSS_TOKEN_FUNCTION, - - /* Those tokens that want lowercase strings interned appear above */ - CSS_TOKEN_LAST_INTERN_LOWER, - - CSS_TOKEN_STRING, CSS_TOKEN_INVALID_STRING, CSS_TOKEN_URI, - CSS_TOKEN_UNICODE_RANGE, CSS_TOKEN_CHAR, CSS_TOKEN_NUMBER, - CSS_TOKEN_PERCENTAGE, CSS_TOKEN_DIMENSION, + CSS_TOKEN_FUNCTION, CSS_TOKEN_STRING, CSS_TOKEN_INVALID_STRING, + CSS_TOKEN_URI, CSS_TOKEN_UNICODE_RANGE, CSS_TOKEN_CHAR, + CSS_TOKEN_NUMBER, CSS_TOKEN_PERCENTAGE, CSS_TOKEN_DIMENSION, /* Those tokens that want strings interned appear above */ CSS_TOKEN_LAST_INTERN, @@ -66,7 +61,6 @@ typedef struct css_token { } data; lwc_string *idata; - lwc_string *ilower; uint32_t col; uint32_t line; |