Skip to content

Unknown node type : MinVectorWidthAttr #907

@softexpert

Description

@softexpert

Hello,

I tried to transpile the C source from Nanozip 1 repository and I got the following error: panic: unknown node type: 'MinVectorWidthAttr 0x563c4c00fc80 <col:125, col:149> 128'

The full output is :

❯ c2go transpile nz1.c
panic: unknown node type: 'MinVectorWidthAttr 0x563c4c00fc80 <col:125, col:149> 128'

goroutine 86 [running]:
github.com/elliotchance/c2go/ast.Parse({0xc005e613fb, 0x38})
        /home/user/go/pkg/mod/cache/github.com/elliotchance/[email protected]/ast/ast.go:294 +0x19e5
main.convertLinesToNodes({0xc00044f3c0, 0x2c7, 0x0?})
        /home/user/go/pkg/mod/cache/github.com/elliotchance/[email protected]/main.go:88 +0xf6
main.convertLinesToNodesParallel.func1.2({0xc00044f3c0?, 0x0?, 0x0?}, 0x0?)
        /home/user/go/pkg/mod/cache/github.com/elliotchance/[email protected]/main.go:120 +0x2f
created by main.convertLinesToNodesParallel.func1 in goroutine 84
        /home/user/go/pkg/mod/cache/github.com/elliotchance/[email protected]/main.go:118 +0x286

I can generate the AST content and I can find MinVectorWidthAttr in several locations.

Is this a known issue?

Thank you in advance for any feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions