aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-12 22:39:12 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-12 22:39:12 -0800
commit096f8504335577d05392436ddcffd5bceabef6d4 (patch)
tree6d7f48aa9d76cc03a14cf51eb78437036b66cd74 /complete.cpp
parentec469782c8f146476de28453e971642095e4f381 (diff)
Eliminate class parse_t
Diffstat (limited to 'complete.cpp')
-rw-r--r--complete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.cpp b/complete.cpp
index fdc62e1e..33e0536b 100644
--- a/complete.cpp
+++ b/complete.cpp
@@ -1839,7 +1839,7 @@ void complete(const wcstring &cmd_with_subcmds, std::vector<completion_t> &comps
//const wcstring prev_token(prev_begin, prev_token_len);
parse_node_tree_t tree;
- parse_t::parse(cmd, parse_flag_continue_after_error | parse_flag_accept_incomplete_tokens, &tree, NULL);
+ parse_tree_from_string(cmd, parse_flag_continue_after_error | parse_flag_accept_incomplete_tokens, &tree, NULL);
/* Find the plain statement that contains the position */
const parse_node_t *plain_statement = tree.find_node_matching_source_location(symbol_plain_statement, pos, NULL);