From 334b39474648df09f96a1cdd2a5f49e4b9494b66 Mon Sep 17 00:00:00 2001 From: Ákos Kőrösi Date: Wed, 20 May 2026 16:22:26 +0200 Subject: save --- redes/syntax.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'redes/syntax.h') diff --git a/redes/syntax.h b/redes/syntax.h index 1c43e49..70cfe22 100644 --- a/redes/syntax.h +++ b/redes/syntax.h @@ -89,15 +89,16 @@ struct Token { union { Word word; SpecialToken spec; - TokenPtrVec procsub_toks; + void* procsub_token_vec; } as; }; DECLARE_VEC(Token, TokenVec) +DECLARE_VEC(TokenVec, TokenVecVec) typedef struct { - TokenVec token_pool; - TokenPtrVec top_tokens; + TokenVecVec region_pool; + TokenVec* root; } Ast; @@ -134,7 +135,7 @@ typedef struct { ArgKind kind; union { char* lit_str; - PlCommand* sub_tree; + void* sub_pipeline; } as; } Arg; -- cgit v1.2.3