scanner: allow empty key name literals
authorRan Benita <ran234@gmail.com>
Thu, 1 Aug 2013 20:09:46 +0000 (23:09 +0300)
committerRan Benita <ran234@gmail.com>
Fri, 2 Aug 2013 08:40:27 +0000 (11:40 +0300)
commite91d2653dd18e6dcace8923596c1f1a29bb9d1d4
tree21e30277f51e22c6287dacffbe89bf21abd13633
parente731b2514b96fcf92513c3f680a84666c0de3173
scanner: allow empty key name literals

Some keymaps actually have this, like the quartz.xkb which is tested. We
need to support these.

https://bugs.freedesktop.org/show_bug.cgi?id=67654

Reported-By: Gatis Paeglis <gatis.paeglis@digia.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
src/text.c
src/utils.h
src/xkbcomp/scanner.c
test/data/keymaps/quartz.xkb [new file with mode: 0644]
test/filecomp.c