summaryrefslogtreecommitdiff
path: root/redes/syntax.h
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-20 16:22:26 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-20 16:22:26 +0200
commit334b39474648df09f96a1cdd2a5f49e4b9494b66 (patch)
tree392f1d15dffc3184ec6b69315a29efcf8672965f /redes/syntax.h
parent77e7fb03e8ed61fa4df227188788958c13d27fdf (diff)
save
Diffstat (limited to 'redes/syntax.h')
-rw-r--r--redes/syntax.h9
1 files changed, 5 insertions, 4 deletions
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;