aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-29 14:11:39 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-29 14:11:39 +0530
commit1a5d866a916ab0f7e0630c4205f3fff9b6375a3e (patch)
tree241923557f288d9d1322c263a9a10aba08163390 /parser.h
parenta1d8ed83dd87ef963574ede8818e5fd7389f4c41 (diff)
parent062e423125bd29b3cae7ba045fca22bd2df3b1cd (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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/parser.h b/parser.h
index 5ecab5bd..8c111e1e 100644
--- a/parser.h
+++ b/parser.h
@@ -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