removed non-standard unions
This commit is contained in:
parent
844b8505ab
commit
8c84d01871
@ -19,17 +19,11 @@ struct ContextStruct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
typedef struct NamespaceContext{
|
typedef struct NamespaceContext{
|
||||||
union {
|
|
||||||
Context base;
|
Context base;
|
||||||
Context;
|
|
||||||
};
|
|
||||||
} NamespaceContext;
|
} NamespaceContext;
|
||||||
|
|
||||||
typedef struct FunctionContext {
|
typedef struct FunctionContext {
|
||||||
union {
|
|
||||||
Context base;
|
Context base;
|
||||||
Context;
|
|
||||||
};
|
|
||||||
Autoarr(Token)* arguments;
|
Autoarr(Token)* arguments;
|
||||||
Autoarr(Token)* attributes;
|
Autoarr(Token)* attributes;
|
||||||
Token accessModifier;
|
Token accessModifier;
|
||||||
@ -37,10 +31,7 @@ typedef struct FunctionContext {
|
|||||||
} FunctionContext;
|
} FunctionContext;
|
||||||
|
|
||||||
typedef struct ClassContext {
|
typedef struct ClassContext {
|
||||||
union {
|
|
||||||
Context base;
|
Context base;
|
||||||
Context;
|
|
||||||
};
|
|
||||||
Autoarr(Token)* attributes;
|
Autoarr(Token)* attributes;
|
||||||
Token accessModifier;
|
Token accessModifier;
|
||||||
} ClassContext;
|
} ClassContext;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user