Add check in the same procedure for two statements.

Add assign pattern checking
Add next pattern
Merge branch 'master' of https://github.com/hugle/SPA_NAVI into xiangqun