This is definitely some kind of deep parsing error that would be done by code completion. It is complaining about Line 6.
Expecting white space. Line 6, position 62.
Look at the line and see what is there. I would also suggest to download latest Beta and see if the same script has that issue.
Parsers are integral part of SQL Editors and changes are made quite often. So the parser used in TDP 4.0 will not be the same as latest TDPs.