diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-04-21 20:08:08 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-04-21 20:08:44 -0700 |
commit | 0e3eb38f1185078662ee44c3120326cdb88274b4 (patch) | |
tree | f16b3222ca8fe4933f988f02e6f1bc314482d756 /parser.h | |
parent | dc23af6b32d4b89eea9ad904495ac5507b8835cc (diff) |
Improved fork reporting
Made autosuggestion work properly for tilde expansion
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -307,14 +307,6 @@ class parser_t { parser_t(const parser_t&); parser_t& operator=(const parser_t&); - /** - Returns the name of the currently evaluated function if we are - currently evaluating a function, null otherwise. This is tested by - moving down the block-scope-stack, checking every block if it is of - type FUNCTION_CALL. - */ - const wchar_t *is_function() const; - 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 ); @@ -326,6 +318,14 @@ class parser_t { public: std::vector<profile_item_t> profile_items; + /** + Returns the name of the currently evaluated function if we are + currently evaluating a function, null otherwise. This is tested by + moving down the block-scope-stack, checking every block if it is of + type FUNCTION_CALL. + */ + const wchar_t *is_function() const; + /** Get the "principal" parser, whatever that is */ static parser_t &principal_parser(); |