Raise a SyntaxError with the lineno and col_offset set to n's.

def error(self, msg, n):
        """Raise a SyntaxError with the lineno and col_offset set to n's."""
        raise SyntaxError(msg, n.lineno, n.col_offset,
                          filename=self.compile_info.filename)