aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-05-12 20:13:19 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-05-12 20:13:19 -0400
commit02fe49a7646807964d214605a478c90d82d2c8a3 (patch)
treef732f3db3b6d7e2eebed68dc4c6f1af57a313279 /ast.h
parent934fd8a173ccad9aa1291c658dbac712eef78b4b (diff)
Deprecate interfaces (RIP)
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/ast.h b/ast.h
index 97bbd886..4307532b 100644
--- a/ast.h
+++ b/ast.h
@@ -111,7 +111,7 @@ typedef enum {
Skip, Stop, Pass,
Return,
Extern,
- StructDef, EnumDef, LangDef, InterfaceDef,
+ StructDef, EnumDef, LangDef,
Index, FieldAccess, Optional,
DocTest,
Use,
@@ -250,11 +250,6 @@ struct ast_s {
ast_t *namespace;
} LangDef;
struct {
- const char *name;
- arg_ast_t *fields;
- ast_t *namespace;
- } InterfaceDef;
- struct {
ast_t *indexed, *index;
bool unchecked;
} Index;