aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Li <sparse@chrisli.org>2010-06-17 17:08:09 -0700
committerChristopher Li <sparse@chrisli.org>2010-06-17 17:21:10 -0700
commit49adf11b99cfce04ddcae7be0a272cc2df31436d (patch)
treeb2cf5af2e39f0162f555a943819875528834cfc1 /token.h
parentAllow parsing L'\0' (diff)
downloadsparse-49adf11b99cfce04ddcae7be0a272cc2df31436d.tar.gz
sparse-49adf11b99cfce04ddcae7be0a272cc2df31436d.tar.bz2
sparse-49adf11b99cfce04ddcae7be0a272cc2df31436d.zip
Parsing wide char string
A follow up change to parse the wide char string. It currently only parse and store it like normal strings. Need more change to reflect the base type and size etc. Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'token.h')
-rw-r--r--token.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/token.h b/token.h
index c527e78..a7ec77e 100644
--- a/token.h
+++ b/token.h
@@ -67,8 +67,9 @@ enum token_type {
TOKEN_ZERO_IDENT,
TOKEN_NUMBER,
TOKEN_CHAR,
- TOKEN_LONG_CHAR,
+ TOKEN_WIDE_CHAR,
TOKEN_STRING,
+ TOKEN_WIDE_STRING,
TOKEN_SPECIAL,
TOKEN_STREAMBEGIN,
TOKEN_STREAMEND,