Rewrite parser_t::eval_args to use new AST parser

This commit is contained in:
ridiculousfish
2014-03-17 08:45:25 -07:00
parent 1305c02579
commit 1c58b6d83e
4 changed files with 43 additions and 69 deletions

View File

@@ -1249,7 +1249,7 @@ void completer_t::complete_from_args(const wcstring &str,
if (! is_autosuggest)
proc_push_interactive(0);
parser.eval_args(args.c_str(), possible_comp);
parser.eval_args(args, possible_comp);
if (! is_autosuggest)
proc_pop_interactive();