aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-04-21 20:08:08 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-04-21 20:08:44 -0700
commit0e3eb38f1185078662ee44c3120326cdb88274b4 (patch)
treef16b3222ca8fe4933f988f02e6f1bc314482d756 /parser.h
parentdc23af6b32d4b89eea9ad904495ac5507b8835cc (diff)
Improved fork reporting
Made autosuggestion work properly for tilde expansion
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/parser.h b/parser.h
index 016c9840..5ce83292 100644
--- a/parser.h
+++ b/parser.h
@@ -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();