diff options
Diffstat (limited to 'src/3rdparty/xkbcommon/src/xkbcomp/ast.h')
-rw-r--r-- | src/3rdparty/xkbcommon/src/xkbcomp/ast.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/3rdparty/xkbcommon/src/xkbcomp/ast.h b/src/3rdparty/xkbcommon/src/xkbcomp/ast.h index 26cbb3a3e4..49c5ada457 100644 --- a/src/3rdparty/xkbcommon/src/xkbcomp/ast.h +++ b/src/3rdparty/xkbcommon/src/xkbcomp/ast.h @@ -95,6 +95,7 @@ enum expr_value_type { EXPR_TYPE_UNKNOWN = 0, EXPR_TYPE_BOOLEAN, EXPR_TYPE_INT, + EXPR_TYPE_FLOAT, EXPR_TYPE_STRING, EXPR_TYPE_ACTION, EXPR_TYPE_KEYNAME, @@ -188,6 +189,12 @@ typedef struct { typedef struct { ExprCommon expr; + /* We don't support floats, but we still represnt them in the AST, in + * order to provide proper error messages. */ +} ExprFloat; + +typedef struct { + ExprCommon expr; xkb_atom_t key_name; } ExprKeyName; @@ -338,7 +345,6 @@ enum xkb_map_flags { typedef struct { ParseCommon common; enum xkb_file_type file_type; - char *topName; char *name; ParseCommon *defs; enum xkb_map_flags flags; |