summaryrefslogtreecommitdiff
path: root/src/xkbcomp/ast.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-11-30 22:25:39 +0200
committerRan Benita <ran234@gmail.com>2013-11-30 22:28:13 +0200
commitdbd8b1ef8dafa8ab84ca7090205241661ac01a45 (patch)
tree6e15f327b9f6a54d35dc126650bd22bcc00cdc70 /src/xkbcomp/ast.h
parent9dc5b8cb6097c5bfd61dbe6a17b59aa8fe9638e5 (diff)
downloadxorg-lib-libxkbcommon-dbd8b1ef8dafa8ab84ca7090205241661ac01a45.tar.gz
expr: add 'ident' value to ExprDef union
This distinguishes between an identifier expression and a string expression in the union. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/ast.h')
-rw-r--r--src/xkbcomp/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xkbcomp/ast.h b/src/xkbcomp/ast.h
index ed8831b..d94550f 100644
--- a/src/xkbcomp/ast.h
+++ b/src/xkbcomp/ast.h
@@ -186,6 +186,7 @@ typedef struct _Expr {
darray(unsigned int) symsNumEntries;
} list;
struct _Expr *child;
+ xkb_atom_t ident;
xkb_atom_t str;
unsigned uval;
int ival;