Refactor Compile<component> functions
authorRan Benita <ran234@gmail.com>
Mon, 7 May 2012 22:08:07 +0000 (01:08 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 8 May 2012 16:29:10 +0000 (17:29 +0100)
commitdccdf32cc4dddc694b057296e8d6a4fb0506eb7c
tree4d1778478f198a1a65f8104676ffcd46f978b236
parent5eb0a70e61528adba4f14fe1c7e058cc01378c4c
Refactor Compile<component> functions

The error handling was not ideal, so unify it. Also makes the functions
a bit easier to read.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/compat.c
src/xkbcomp/keycodes.c
src/xkbcomp/keytypes.c
src/xkbcomp/symbols.c