lexan: handle the case where input data ends with skippable characters

Signed-off-by: Peter Williams <pwil3058@bigpond.net.au>
Merge branch 'master' of github.com:pwil3058/grallina