diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-29 14:11:39 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-29 14:11:39 +0530 |
commit | 1a5d866a916ab0f7e0630c4205f3fff9b6375a3e (patch) | |
tree | 241923557f288d9d1322c263a9a10aba08163390 /parser.h | |
parent | a1d8ed83dd87ef963574ede8818e5fd7389f4c41 (diff) | |
parent | 062e423125bd29b3cae7ba045fca22bd2df3b1cd (diff) |
buggy-auto-complete is not so buggy now. Merged branch 'buggy-auto-complete' into CPlusPlus
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -260,7 +260,7 @@ class parser_t { */ const wchar_t *is_function() const; - void parse_job_argument_list( process_t *p, job_t *j, tokenizer *tok, array_list_t *args ); + void parse_job_argument_list( process_t *p, job_t *j, tokenizer *tok, std::vector<completion_t>& ); int parse_job( process_t *p, job_t *j, tokenizer *tok ); void skipped_exec( job_t * j ); void eval_job( tokenizer *tok ); @@ -304,8 +304,12 @@ class parser_t { \param line Line to evaluate \param output List to insert output to */ - int eval_args( const wchar_t *line, array_list_t *output ); - + /** + \param line Line to evaluate + \param output List to insert output to + */ + int eval_args( const wchar_t *line, std::vector<completion_t> &output ); + /** Sets the current evaluation error. This function should only be used by libraries that are called by |