diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-06-26 12:05:14 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-06-26 12:05:14 +0000 |
commit | 6d1f8a2e90f1b125fcd8839a0f9f5811c97fb8c9 (patch) | |
tree | 74d77677d8115ff6071b0d5621702dd8ab0fc3d1 /src/lex/lex.h | |
parent | 76b814183691e731a6d6e564fcc0e98ddac4adf3 (diff) | |
download | libcss-6d1f8a2e90f1b125fcd8839a0f9f5811c97fb8c9.tar.gz libcss-6d1f8a2e90f1b125fcd8839a0f9f5811c97fb8c9.tar.bz2 |
Correctly process unterminated strings.
svn path=/trunk/libcss/; revision=4455
Diffstat (limited to 'src/lex/lex.h')
-rw-r--r-- | src/lex/lex.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lex/lex.h b/src/lex/lex.h index bfd85b9..b40aff3 100644 --- a/src/lex/lex.h +++ b/src/lex/lex.h @@ -33,13 +33,13 @@ typedef union css_lexer_optparams { * Token type */ typedef enum css_token_type { - CSS_TOKEN_IDENT, CSS_TOKEN_ATKEYWORD, CSS_TOKEN_STRING, - CSS_TOKEN_HASH, CSS_TOKEN_NUMBER, CSS_TOKEN_PERCENTAGE, - CSS_TOKEN_DIMENSION, CSS_TOKEN_URI, CSS_TOKEN_UNICODE_RANGE, - CSS_TOKEN_CDO, CSS_TOKEN_CDC, CSS_TOKEN_S, CSS_TOKEN_COMMENT, - CSS_TOKEN_FUNCTION, CSS_TOKEN_INCLUDES, CSS_TOKEN_DASHMATCH, - CSS_TOKEN_PREFIXMATCH, CSS_TOKEN_SUFFIXMATCH, CSS_TOKEN_SUBSTRINGMATCH, - CSS_TOKEN_CHAR, CSS_TOKEN_EOF + CSS_TOKEN_IDENT, CSS_TOKEN_ATKEYWORD, CSS_TOKEN_STRING, + CSS_TOKEN_INVALID_STRING, CSS_TOKEN_HASH, CSS_TOKEN_NUMBER, + CSS_TOKEN_PERCENTAGE, CSS_TOKEN_DIMENSION, CSS_TOKEN_URI, + CSS_TOKEN_UNICODE_RANGE, CSS_TOKEN_CDO, CSS_TOKEN_CDC, CSS_TOKEN_S, + CSS_TOKEN_COMMENT, CSS_TOKEN_FUNCTION, CSS_TOKEN_INCLUDES, + CSS_TOKEN_DASHMATCH, CSS_TOKEN_PREFIXMATCH, CSS_TOKEN_SUFFIXMATCH, + CSS_TOKEN_SUBSTRINGMATCH, CSS_TOKEN_CHAR, CSS_TOKEN_EOF } css_token_type; /** |