Insert check points before APL scan.
Merge branch 'master' of https://github.com/llxibo/LuaCL