jscan: fix bug with literal 0