Add syntax error for incomplete global variables
Merge pull request #1138 from h2so5/syntax-error-for-incomplete-global-variable

Add syntax error for incomplete global variables