diff options
Diffstat (limited to 'src/expand.h')
| -rw-r--r-- | src/expand.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/expand.h b/src/expand.h deleted file mode 100644 index b353f39..0000000 --- a/src/expand.h +++ /dev/null @@ -1,31 +0,0 @@ -# pragma once - -#include "preproc.h" -#include "utils.h" - -typedef enum { - SLOT_STR, - SLOT_SPEC, - SLOT_PROC_IN, - SLOT_PROC_OUT, -} SlotKind; - -typedef struct { - SlotKind kind; - union { - char* str; - SpecialToken spec; - Region* proc_reg; - } as; -} Slot; - -DECLARE_VEC(Slot, SlotVec) - -typedef struct { - SlotVec cmd_slots; - Connector conn; -} ExpandedPipelineElement; - -DECLARE_VEC(ExpandedPipelineElement, ExpandedPipeline) - -ExpandedPipeline expand_pipeline(Pipeline* pl, ShellState* shstate); |
