16 lines
360 B
C
16 lines
360 B
C
#pragma once
|
|
#include "commands.h"
|
|
|
|
struct ContextStruct;
|
|
typedef ContextStruct Context;
|
|
|
|
Autoarr_declare(Context);
|
|
|
|
struct ContextStruct{
|
|
Context* parent;
|
|
Autoarr(Context) children;
|
|
Autoarr(Command) commandChain;
|
|
Autoarr(Constant) constantStack;
|
|
bool isPartial; // if true, not-defined members won't throw NotDefinedError before linkage
|
|
}
|