diff options
author | 2012-01-20 11:24:43 -0800 | |
---|---|---|
committer | 2012-01-20 11:24:43 -0800 | |
commit | 7e486e3b5c5e1a3a6936322fde487260d3058042 (patch) | |
tree | 4be5dc184433a78827f6f5707aae9d40a68e9cda /complete.cpp | |
parent | 3d8face1f902bd51146c64f4df57a1de7049fd6d (diff) |
More work towards instanced parser
Diffstat (limited to 'complete.cpp')
-rw-r--r-- | complete.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/complete.cpp b/complete.cpp index d10886b6..8b353eed 100644 --- a/complete.cpp +++ b/complete.cpp @@ -1243,9 +1243,9 @@ static void complete_from_args( const wchar_t *str, array_list_t possible_comp; al_init( &possible_comp ); - + parser_t parser(PARSER_TYPE_COMPLETIONS_ONLY); proc_push_interactive(0); - eval_args( args, &possible_comp ); + parser.eval_args( args, &possible_comp ); proc_pop_interactive(); complete_strings( comp_out, str, desc, 0, &possible_comp, flags ); |