diff options
author | Ran Benita <ran234@gmail.com> | 2012-07-23 21:21:03 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2012-07-26 23:15:54 +0300 |
commit | c6279b8baeae7dd9ff486bc0fb60ff0bef0587af (patch) | |
tree | ba533587799c1b992f6617c87b25dbbfee54b0fd /test/data | |
parent | 7662397fd41a1581f71836e7c7361100d3fb0d56 (diff) |
expr: don't divide by zero
Calculator parser 101.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/keymaps/divide-by-zero.xkb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/data/keymaps/divide-by-zero.xkb b/test/data/keymaps/divide-by-zero.xkb new file mode 100644 index 0000000..5ae7d44 --- /dev/null +++ b/test/data/keymaps/divide-by-zero.xkb @@ -0,0 +1,17 @@ +xkb_keymap { + xkb_keycodes { + <ESC> = 1 / 0; + }; + + xkb_types { + virtual_modifiers NumLock; + }; + + xkb_compatibility { + virtual_modifiers NumLock; + }; + + xkb_symbols { + key <HYPR> { [ NoSymbol, Hyper_L ] }; + }; +}; |