diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-04 23:10:43 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-04 23:10:43 -0400 |
| commit | a4cb5ffafc050b519f806f74f0160ad48f76bee6 (patch) | |
| tree | 7a55f9b2e7c680eaccfa81c3734efdda71e848a3 /src/formatter/formatter.c | |
| parent | 4cb2ea78760fabcbf526dee5962a6bf4896639f3 (diff) | |
Deprecate `extend`
Diffstat (limited to 'src/formatter/formatter.c')
| -rw-r--r-- | src/formatter/formatter.c | 5 |
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: { |
