summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nieto Cid <dnietoc@gmail.com>2010-08-21 11:49:29 -0300
committerDiego Nieto Cid <dnietoc@gmail.com>2011-04-08 14:36:21 -0300
commitf9570fcd6bdd63dd9db34e4588e4c339566ff60b (patch)
tree24af910f95636e19506c5a6f03ea51df5f5ccb4a
parentd8023826e3a846f1f5df3570b7b6d57075532fce (diff)
Add support for hexadecimal symbols.
* console-client/xkb/parser.y(symbolname): Match and return hex value.
-rw-r--r--console-client/xkb/parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/console-client/xkb/parser.y b/console-client/xkb/parser.y
index 36bc3a3f..18c14544 100644
--- a/console-client/xkb/parser.y
+++ b/console-client/xkb/parser.y
@@ -1062,6 +1062,7 @@ symbolssect:
symbolname:
IDENTIFIER { $$ = XStringToKeysym ($1); }
| NUM { $$ = $1 + '0' }
+| HEX { $$ = $1; }
;
/* None or more keysyms, assigned to a single group of the current