-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ast.Node for seach goast.Ident #497
Comments
#define NR_END 1
#define FREE_ARG char*
void free_dmatrix(double **m, long nrl, long nrh, long ncl, long nch)
/* free a double matrix allocated by dmatrix() */
{
free((FREE_ARG) (m[nrl]+ncl-NR_END));
free((FREE_ARG) (m+nrl-NR_END));
} Go result: // Error (CallExpr): 269: Cannot found goast.Ident in operation <ToVoid> or function free
// Error (CallExpr): 270: Cannot found goast.Ident in operation <ToVoid> or function free
func free_dmatrix(m [][]float64, nrl int32, nrh int32, ncl int32, nch int32) {
}
// Error (CallExpr): 276: Cannot found goast.Ident in operation <ToVoid> or function free
// Error (CallExpr): 277: Cannot found goast.Ident in operation <ToVoid> or function free |
Test for array: double v0[] = {12,121,1212,12121};
double v1[] = {12,121,1212,12121};
double *m[] = {&v0,&v1}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Warnings:
Typical AST
The text was updated successfully, but these errors were encountered: