summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-21 14:13:22 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-21 14:13:22 +0200
commit202f4f3a9b7818359d89ef2583618b397e1824b4 (patch)
treefae26d260720f0d67187dc59d8ff34f2b73f54cb /src/syntax.h
parentfc27548c447ed9bcd07493983431e0a6e72c7cef (diff)
start setting up proc sub
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/syntax.h b/src/syntax.h
index 0cdb76c..a0ccfac 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -1,6 +1,6 @@
# pragma once
-#include "../src/utils.h"
+#include "utils.h"
// Stage 1
@@ -90,7 +90,7 @@ typedef struct {
SpecialTokenKind kind;
union {
OperatorToken op;
- void* proc_sub_region;
+ void* proc_sub_region; // (TokenVec)
} as;
} SpecialToken;
@@ -190,5 +190,6 @@ typedef struct {
char** args;
FdRedirectVec redirects;
int stdin_fd, stdout_fd;
- IntVec open_fds;
+ IntVec parent_open_fds;
+ IntVec child_open_fds;
} ExecutableCommand;