diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-08 13:41:12 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-08 13:41:12 -0800 |
commit | dd0cc5ed9fa60f4bae5530d1708a2974eb0c454f (patch) | |
tree | 05f9a1c63c48f18ca688e6485d64afa0018b1013 /parse_util.h | |
parent | a23441109deebe703a436968294966abbca64cb6 (diff) |
Rewriting indenting functionality to use new parser
Diffstat (limited to 'parse_util.h')
-rw-r--r-- | parse_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parse_util.h b/parse_util.h index 76b33450..b5b5262a 100644 --- a/parse_util.h +++ b/parse_util.h @@ -159,5 +159,7 @@ void parse_util_get_parameter_info(const wcstring &cmd, const size_t pos, wchar_ */ wcstring parse_util_escape_string_with_quote(const wcstring &cmd, wchar_t quote); +/** Given a string, parse it as fish code and then return the indents. The return value has the same size as the string */ +std::vector<int> parse_util_compute_indents(const wcstring &src); #endif |