trivial inlining
fix index off-one
simplify string scanner
Merge branch 'master' of github.com:yinwang0/yin