Raise correct SyntaxError