summaryrefslogtreecommitdiff
path: root/src/xkbcomp/ast.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-11-30 23:24:18 +0200
committerRan Benita <ran234@gmail.com>2013-12-01 10:47:56 +0200
commitc24b6420252a92823ac1503d168d81f648830e42 (patch)
tree45c3d240982c7dc882fba1acb516405912517daa /src/xkbcomp/ast.h
parentc5d859385f1e65ce84e90beff384d92d1362646a (diff)
downloadxorg-lib-libxkbcommon-c24b6420252a92823ac1503d168d81f648830e42.tar.gz
expr: add constructor for boolean expressions
Also add a 'bool set' to the ExprDef union, instead of using 'ival' as a bool. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/ast.h')
-rw-r--r--src/xkbcomp/ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/ast.h b/src/xkbcomp/ast.h
index d94550f..3e9f517 100644
--- a/src/xkbcomp/ast.h
+++ b/src/xkbcomp/ast.h
@@ -188,7 +188,7 @@ typedef struct _Expr {
struct _Expr *child;
xkb_atom_t ident;
xkb_atom_t str;
- unsigned uval;
+ bool set;
int ival;
xkb_atom_t keyName;
} value;