summaryrefslogtreecommitdiff
path: root/src/xkbcomp/scanner.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-11-27 13:43:57 +0200
committerRan Benita <ran234@gmail.com>2013-11-27 13:45:15 +0200
commitba7530fa90795e077e685346444ebe3a3c1595ee (patch)
tree84702669ee5c42b79d4539850e01484783d69edb /src/xkbcomp/scanner.c
parent1651e5af465f45f9b6fff7e65ab958425ccda00b (diff)
downloadlibxkbcommon-ba7530fa90795e077e685346444ebe3a3c1595ee.tar.gz
libxkbcommon-ba7530fa90795e077e685346444ebe3a3c1595ee.tar.bz2
libxkbcommon-ba7530fa90795e077e685346444ebe3a3c1595ee.zip
scanner: restore lost DIVIDE token
I don't know how this could have happened. Luckily this token is completely useless. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/scanner.c')
-rw-r--r--src/xkbcomp/scanner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xkbcomp/scanner.c b/src/xkbcomp/scanner.c
index 4e7d70b..591f1f5 100644
--- a/src/xkbcomp/scanner.c
+++ b/src/xkbcomp/scanner.c
@@ -156,6 +156,7 @@ skip_more_whitespace_and_comments:
if (chr(s, '+')) return PLUS;
if (chr(s, '-')) return MINUS;
if (chr(s, '*')) return TIMES;
+ if (chr(s, '/')) return DIVIDE;
if (chr(s, '!')) return EXCLAM;
if (chr(s, '~')) return INVERT;