aboutsummaryrefslogtreecommitdiff
path: root/include/lexer/ast.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-16 11:28:14 +0000
committer_ov4 <ov4@ov4.org>2026-09-16 11:28:14 +0000
commite489a2db5a1e56e66f6df12642ad8cfd988d4b30 (patch)
treeaafcb1d962e9ce24ddccf00aff82d0ed0804fc4c /include/lexer/ast.h
parent165ead4adbf8494db82f7be35c6f8d52ac47ebef (diff)
implement subshell, and fix vector operator[] unvalid index
Diffstat (limited to 'include/lexer/ast.h')
-rw-r--r--include/lexer/ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lexer/ast.h b/include/lexer/ast.h
index d4b0fd5..871afaf 100644
--- a/include/lexer/ast.h
+++ b/include/lexer/ast.h
@@ -21,6 +21,9 @@ public:
size_t left = string::npos;
size_t right = string::npos;
+ // if this is marked as `subshell`
+ // it will fork a subshell
+ // then the subshell will handler the rest
bool subshell;
};