aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-21 17:48:35 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-21 17:48:35 -0800
commitf545fb2491d36e02dc6c4005ada86be8678bba78 (patch)
tree3237ef337b1723b24dc32618cc5e03360e30e13e /parser.h
parente73be48d9622d06039926fd2ba4a4b68b675f34a (diff)
Work towards refactoring tokenizer to be a real object
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/parser.h b/parser.h
index e8653983..751182c3 100644
--- a/parser.h
+++ b/parser.h
@@ -295,7 +295,7 @@ struct profile_item_t
wcstring cmd;
};
-struct tokenizer;
+struct tokenizer_t;
class parser_t
{
@@ -316,7 +316,7 @@ private:
wcstring err_buff;
/** Pointer to the current tokenizer */
- tokenizer *current_tokenizer;
+ tokenizer_t *current_tokenizer;
/** String for representing the current line */
wcstring lineinfo;
@@ -344,10 +344,10 @@ private:
parser_t(const parser_t&);
parser_t& operator=(const parser_t&);
- void parse_job_argument_list(process_t *p, job_t *j, tokenizer *tok, std::vector<completion_t>&, bool);
- int parse_job(process_t *p, job_t *j, tokenizer *tok);
+ void parse_job_argument_list(process_t *p, job_t *j, tokenizer_t *tok, std::vector<completion_t>&, bool);
+ int parse_job(process_t *p, job_t *j, tokenizer_t *tok);
void skipped_exec(job_t * j);
- void eval_job(tokenizer *tok);
+ void eval_job(tokenizer_t *tok);
int parser_test_argument(const wchar_t *arg, wcstring *out, const wchar_t *prefix, int offset);
void print_errors(wcstring &target, const wchar_t *prefix);
void print_errors_stderr();