xkbcomp: clean up compile_keymap function
authorRan Benita <ran234@gmail.com>
Mon, 27 Aug 2012 15:58:36 +0000 (18:58 +0300)
committerRan Benita <ran234@gmail.com>
Sun, 2 Sep 2012 16:17:09 +0000 (19:17 +0300)
commitefc2d74141fec07b0aa44640fbf667d6b52a8631
tree074a77503af1d7c9675c3882ad133adb4b0cc985
parent82491d5fd101393ef77122e449f23e30343f3d9f
xkbcomp: clean up compile_keymap function

We make the xkb_file_type enum sequential instead of masks, and then
we don't have to repeat the file types several times in the function.
Makes the code cleaner.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/text.c
src/xkb-priv.h
src/xkbcomp/ast-build.c
src/xkbcomp/include.c
src/xkbcomp/xkbcomp.c