aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-27 18:40:54 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-27 18:40:54 -0800
commit88a785e32117081b91b813ac6b5437deb33ef0f7 (patch)
tree3a01e073dffd166256f7ccebeeb61c7e7ea58212 /src/parser.h
parentd628fe0deaa134efa1205a25e538f3cb828661a0 (diff)
Make expand_argument_list a static function
It doesn't use any properties of parser_t
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index dfc4dcf1..1b2bad1b 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -309,7 +309,7 @@ public:
\param flags Some expand flags to use
\param output List to insert output into
*/
- void expand_argument_list(const wcstring &arg_src, expand_flags_t flags, std::vector<completion_t> *output) const;
+ static void expand_argument_list(const wcstring &arg_src, expand_flags_t flags, std::vector<completion_t> *output);
/**
Returns a string describing the current parser pisition in the format 'FILENAME (line LINE_NUMBER): LINE'.