summaryrefslogtreecommitdiff
path: root/src/xkbcomp/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xkbcomp/expr.c')
-rw-r--r--src/xkbcomp/expr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xkbcomp/expr.c b/src/xkbcomp/expr.c
index c514f8d..6d3e466 100644
--- a/src/xkbcomp/expr.c
+++ b/src/xkbcomp/expr.c
@@ -337,7 +337,9 @@ ExprResolveIntegerLookup(struct xkb_context *ctx, const ExprDef *expr,
*val_rtrn = l / r;
break;
default:
- break;
+ log_err(ctx, "%s of integers not permitted\n",
+ expr_op_type_to_string(expr->expr.op));
+ return false;
}
return true;