diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-17 08:45:25 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-20 21:32:02 -0700 |
commit | 1c58b6d83e36f014189461a5d4a23fa590f66b45 (patch) | |
tree | a5cc5f05844277b630d835066e6708bb48ab1820 /parser.h | |
parent | 1305c02579a3b4976ddbd964cf174b71a36b8e41 (diff) |
Rewrite parser_t::eval_args to use new AST parser
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -340,15 +340,12 @@ public: /** Evaluate line as a list of parameters, i.e. tokenize it and perform parameter expansion and cmdsubst execution on the tokens. The output is inserted into output. + Errors are ignored. - \param line Line to evaluate - \param output List to insert output to + \param arg_src String to evaluate as an argument list + \param output List to insert output into */ - /** - \param line Line to evaluate - \param output List to insert output to - */ - void eval_args(const wchar_t *line, std::vector<completion_t> &output); + void eval_args(const wcstring &arg_src, std::vector<completion_t> &output); /** Sets the current evaluation error. This function should only be used by libraries that are called by |