rules: warn when an RMLVO component isn't used
authorRan Benita <ran234@gmail.com>
Sat, 20 Sep 2014 13:13:24 +0000 (16:13 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 20 Sep 2014 13:18:26 +0000 (16:18 +0300)
commitd8a4f52cb95d989b48f39ce13c18fe85cda4e9e1
treef0bc28b861a986e037d7ea6f04df753facf8122f
parentd0c6fce24d0963380f4ee30c72fc2c5f7725e27c
rules: warn when an RMLVO component isn't used

Due to wildcard matches in the rules file, this is only really useful
for misspelled or missing options, e.g.

$ ./test/rmlvo-to-kccgst -o comprose:ralt > /dev/null
xkbcommon: ERROR: Unrecognized RMLVO option "comprose:ralt" was ignored

Although it is more of a warning, it indicates a misconfiguration which
the user probably wants to see. Therefore the log level is ERROR.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/rules.c