Fix type of keycode in parser and ast
authorRan Benita <ran234@gmail.com>
Thu, 27 Sep 2012 17:21:26 +0000 (19:21 +0200)
committerRan Benita <ran234@gmail.com>
Thu, 27 Sep 2012 19:12:08 +0000 (21:12 +0200)
commit41a7fed3f8a4034ee6b57601d183ced86cbac32b
treec38564c824e62a07a8612a96ffeae78afe0d624c
parent3b389b15bfaa33874ee6a2c308241984c8727faa
Fix type of keycode in parser and ast

For some reason keycodes were listed under mapFlags in the yylval union.
Fix it and some sanity checks.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/ast-build.c
src/xkbcomp/ast-build.h
src/xkbcomp/ast.h
src/xkbcomp/keycodes.c
src/xkbcomp/parser.y