From cd55aa462b112896240ab736bf60035fdb30ca2d Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sun, 18 Oct 2026 14:47:46 +0000 Subject: adapt line editor --- include/eval.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/eval.h') 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); } -- cgit v1.3.1-4-g156e