diff options
author | Diego Nieto Cid <dnietoc@gmail.com> | 2010-07-20 21:31:10 -0300 |
---|---|---|
committer | Diego Nieto Cid <dnietoc@gmail.com> | 2011-04-08 14:36:19 -0300 |
commit | a9a5bcb152def4c737abb84a665232fadfb5e5b2 (patch) | |
tree | 63d465475d0a634eb911dfedcf75b8581316d536 | |
parent | e89187e4e751ae805a8a4c358e4de3974a777a12 (diff) |
Emit warnings on undeclared virtual modifiers.
-rw-r--r-- | console-client/xkb/parser.y | 2 |
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); } ; |