summaryrefslogtreecommitdiff
path: root/console-client/xkb/parser.y
diff options
context:
space:
mode:
authorDiego Nieto Cid <dnietoc@gmail.com>2010-07-20 21:31:10 -0300
committerDiego Nieto Cid <dnietoc@gmail.com>2011-04-08 14:36:19 -0300
commita9a5bcb152def4c737abb84a665232fadfb5e5b2 (patch)
tree63d465475d0a634eb911dfedcf75b8581316d536 /console-client/xkb/parser.y
parente89187e4e751ae805a8a4c358e4de3974a777a12 (diff)
Emit warnings on undeclared virtual modifiers.
Diffstat (limited to 'console-client/xkb/parser.y')
-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);
}
;