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 /expression.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 'expression.h')
-rw-r--r--expression.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/expression.h b/expression.h
index 631224f..9778de8 100644
--- a/expression.h
+++ b/expression.h
@@ -76,7 +76,10 @@ struct expression {
long double fvalue;
// EXPR_STRING
- struct string *string;
+ struct {
+ int wide;
+ struct string *string;
+ };
// EXPR_UNOP, EXPR_PREOP and EXPR_POSTOP
struct /* unop */ {