diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-16 11:28:14 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-16 11:28:14 +0000 |
| commit | e489a2db5a1e56e66f6df12642ad8cfd988d4b30 (patch) | |
| tree | aafcb1d962e9ce24ddccf00aff82d0ed0804fc4c /include/eval.h | |
| parent | 165ead4adbf8494db82f7be35c6f8d52ac47ebef (diff) | |
implement subshell, and fix vector operator[] unvalid index
Diffstat (limited to 'include/eval.h')
| -rw-r--r-- | include/eval.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/eval.h b/include/eval.h index 5c819a4..214a1ae 100644 --- a/include/eval.h +++ b/include/eval.h @@ -1,11 +1,12 @@ #pragma once #include "all.h" -#include "lexer/token.h" +#include "lexer/lexer_class.h" namespace ov4 { - +int eval_exe(const std::string &s, bool is_aync); +int eval_tree_cd(size_t i, const T_lexer &lexer_instance, bool inside_subshell); void eval(char *cmdline); } |
