Fix SyntaxErrorReporter and add unit test