expr: don't allow "none" in LookupModIndex
authorRan Benita <ran234@gmail.com>
Thu, 4 Oct 2012 10:27:06 +0000 (12:27 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 6 Oct 2012 19:41:58 +0000 (21:41 +0200)
commit1401b0fb5ed193dd67b5f156957b04cdde69b005
treeb420167fbe58e717ae5783087aa333594dd774db
parent239a5be10e7bd248e64d4da62c192c01bd93bd60
expr: don't allow "none" in LookupModIndex

LookupModMask handles this before calling LookupModIndex, and the only
other user in symbols.c doesn't handle this return value at all.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/expr.c