aboutsummaryrefslogtreecommitdiff
path: root/xkbcomp/parseutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbcomp/parseutils.c')
-rw-r--r--xkbcomp/parseutils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xkbcomp/parseutils.c b/xkbcomp/parseutils.c
index 5f9f6a45e..e98adf123 100644
--- a/xkbcomp/parseutils.c
+++ b/xkbcomp/parseutils.c
@@ -229,7 +229,12 @@ InterpCreate(const char *sym_str, ExprDef * match)
def->common.stmtType = StmtInterpDef;
def->common.next = NULL;
if (LookupKeysym(sym_str, &def->sym) == 0)
+ {
def->ignore = True;
+ if (warningLevel > 0)
+ WARN1("Couldn't lookup keysym %s\n", sym_str);
+ ACTION("Symbol interpretation ignored\n");
+ }
else
def->ignore = False;
def->match = match;