Closed
Description
Consider this example:
typedef struct
{
struct
{
struct
{
int a;
} meow;
} meow2;
} miauz;
c2nim generates this code for it:
type
INNER_C_STRUCT_nestedanonymousstruct_11* {.bycopy.} = object
a*: cint
INNER_C_STRUCT_nestedanonymousstruct_11* {.bycopy.} = object
meow*: INNER_C_STRUCT_nestedanonymousstruct_11
miauz* {.bycopy.} = object
meow2*: INNER_C_STRUCT_nestedanonymousstruct_11
I figured out that this is because of the backtracking and I could fix it somehow, though everything I can come up with would be a bit invasive and a bit dirty. So any suggestions how to approach this?
Metadata
Metadata
Assignees
Labels
No labels