Added syntax error checks
Merge remote-tracking branch 'upstream/master'