aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/formatter.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-04 23:10:43 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-04 23:10:43 -0400
commita4cb5ffafc050b519f806f74f0160ad48f76bee6 (patch)
tree7a55f9b2e7c680eaccfa81c3734efdda71e848a3 /src/formatter/formatter.c
parent4cb2ea78760fabcbf526dee5962a6bf4896639f3 (diff)
Deprecate `extend`
Diffstat (limited to 'src/formatter/formatter.c')
-rw-r--r--src/formatter/formatter.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/formatter/formatter.c b/src/formatter/formatter.c
index 9ff328d0..41b1c4aa 100644
--- a/src/formatter/formatter.c
+++ b/src/formatter/formatter.c
@@ -116,7 +116,6 @@ OptionalText_t format_inline_code(ast_t *ast, Table_t comments) {
/*inline*/ case StructDef:
/*inline*/ case EnumDef:
/*inline*/ case LangDef:
- /*inline*/ case Extend:
/*inline*/ case FunctionDef:
/*inline*/ case ConvertDef:
/*inline*/ case DebugLog:
@@ -571,10 +570,6 @@ Text_t format_code(ast_t *ast, Table_t comments, Text_t indent) {
DeclareMatch(def, ast, LangDef);
return Texts("lang ", Text$from_str(def->name), format_namespace(def->namespace, comments, indent));
}
- /*multiline*/ case Extend: {
- DeclareMatch(extend, ast, Extend);
- return Texts("lang ", Text$from_str(extend->name), format_namespace(extend->body, comments, indent));
- }
/*multiline*/ case Defer:
return Texts("defer ", format_namespace(Match(ast, Defer)->body, comments, indent));
/*multiline*/ case List: {