We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typedef unsigned char pcre_uchar; typedef struct spu { pcre_uchar *hvm; } spu; // ... pcre_uchar str[] = "abcd"; spu s; spu *ps = &s; ps->hvm = &str[1]; is_true(ps->hvm == &str[1]); ps->hvm += 2; is_true(ps->hvm == &str[3]);
is valid C code, but go build has error ps.hvm undefined (type []spu has no field or method hvm)
ps.hvm undefined (type []spu has no field or method hvm)
The text was updated successfully, but these errors were encountered:
Use left expression as assignment LHS. Fixes elliotchance#724
e9a283d
This should already have the correct variable identifier and also covers cases where LHS is a struct field.
Struct field pointer arithmetics. Fixes #724 (#725)
aaf7aa2
No branches or pull requests
is valid C code, but go build has error
ps.hvm undefined (type []spu has no field or method hvm)
The text was updated successfully, but these errors were encountered: