aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-20 21:31:47 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-20 21:32:03 -0700
commitc71b1684020515f342f7dfd5e31324f84e2c6294 (patch)
treee476bd52ca8626956c33bf183c58e0799761cba9 /parser.h
parent4deb46290da1f89422cf1f269b516317d98822a6 (diff)
Remove current_tokenizer and current_tokenizer_pos from old parser
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/parser.h b/parser.h
index 93d8e841..bd910812 100644
--- a/parser.h
+++ b/parser.h
@@ -259,12 +259,6 @@ private:
/** Description of last error */
wcstring err_buff;
- /** Pointer to the current tokenizer */
- tokenizer_t *current_tokenizer;
-
- /** This is the position of the beginning of the currently parsed command */
- int current_tokenizer_pos;
-
/** List of called functions, used to help prevent infinite recursion */
wcstring_list_t forbidden_function;
@@ -284,11 +278,6 @@ private:
parser_t(const parser_t&);
parser_t& operator=(const parser_t&);
- void skipped_exec(job_t * j);
- 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();
-
/** Create a job */
job_t *job_create(const io_chain_t &io);
@@ -363,9 +352,6 @@ public:
/** Returns the current line number */
int get_lineno() const;
- /** Returns the line number for the character at the given index */
- int line_number_of_character_at_offset(size_t idx) const;
-
/** Returns the block at the given index. 0 corresponds to the innermost block. Returns NULL when idx is at or equal to the number of blocks. */
const block_t *block_at_index(size_t idx) const;
block_t *block_at_index(size_t idx);