diff options
Diffstat (limited to 'redes/syntax.h')
| -rw-r--r-- | redes/syntax.h | 9 |
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; |
