aboutsummaryrefslogtreecommitdiff
path: root/include/eval.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-18 14:47:46 +0000
committer_ov4 <ov4@ov4.org>2026-10-18 14:47:46 +0000
commitcd55aa462b112896240ab736bf60035fdb30ca2d (patch)
tree4446cee1af4ba561e46b1587f96bb61aecedceb2 /include/eval.h
parentc8479ceff6aea37def538c902324c68930947f21 (diff)
adapt line editor
Diffstat (limited to 'include/eval.h')
-rw-r--r--include/eval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/eval.h b/include/eval.h
index 5ccecf4..6268403 100644
--- a/include/eval.h
+++ b/include/eval.h
@@ -22,7 +22,7 @@ inline T_pipe T_pipe_not_pipe;
int eval_exe(const std::string &s, bool is_async);
int eval_exe(const std::string &s, bool is_async, const T_lexer *lexer_instance, size_t i, const T_pipe &pi = T_pipe_not_pipe);
int eval_tree_cd(size_t i, const T_lexer &lexer_instance, bool inside_subshell, T_pipe pi = T_pipe_not_pipe);
-void eval(char *cmdline);
+void eval(const std::string &s);
void eval_err(int err);
}