rules: use goto instead of state variable
authorRan Benita <ran234@gmail.com>
Tue, 28 Aug 2012 15:04:25 +0000 (18:04 +0300)
committerRan Benita <ran234@gmail.com>
Wed, 5 Sep 2012 13:37:43 +0000 (16:37 +0300)
commit3b6b214c78c2c4fcecae1023ae92dfd29b160c42
treefb86976f901e188cfe72cba6f29b1ab811e5109e
parent0071227e7f09b53bfb8af5607cadca60b2f64568
rules: use goto instead of state variable

There's no noticeable speed difference, but I think it's nicer and more
explicit than the previous code. Some people just don't like goto,
though..

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