Skip to content
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

could not match regexp FieldDecl implicit referenced #302

Closed
yulvil opened this issue Nov 1, 2017 · 1 comment
Closed

could not match regexp FieldDecl implicit referenced #302

yulvil opened this issue Nov 1, 2017 · 1 comment

Comments

@yulvil
Copy link
Contributor

yulvil commented Nov 1, 2017

main.c

typedef struct {
    union{
        struct{
            double x; 
            double y;
            double z;
        };
        double raw[3];
    };
} vec3d_t;

int main() {
    vec3d_t v = {{{1.1, 2.2, 3.3}}};
    return v.raw[0] + v.raw[1] + v.raw[2] - v.x - v.y - v.z;
}

c2go output

panic: could not match regexp '<(?P<position>.*)>
                (?P<position2> col:\d+| line:\d+:\d+)?
                (?P<referenced> referenced)?
                (?P<name> \w+?)?
                 '(?P<type>.+?)'' with string 'FieldDecl 0x561c881dfa20 <line:3:9> col:9 implicit referenced 'struct vec3d_t::(anonymous at main.c:3:9)''
@yulvil
Copy link
Contributor Author

yulvil commented Nov 1, 2017

Could be a duplicate of #114 Edit: different problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant