summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-client/xkb/parser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/console-client/xkb/parser.y b/console-client/xkb/parser.y
index a9f6cbd5..79dfdbba 100644
--- a/console-client/xkb/parser.y
+++ b/console-client/xkb/parser.y
@@ -322,6 +322,8 @@ vmod:
IDENTIFIER
{ if (($$ = vmod_find ($1)) != 0)
$$ = 1 << ($$ - 1);
+ else
+ fprintf(stderr, "warning: %s virtual modifier is not defined.", $1);
}
;