aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-04-29 16:53:02 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-04-29 16:53:02 -0700
commitc91f70523cbdf62292accf87b4465ad30ca8c159 (patch)
treeac8a85e1bc1e0dc789517c091ac9e5f47acdde68 /expand.h
parent3d9c24196dab141699bded97e78bce35f8dc27d1 (diff)
Rework error messages to be shorter and to handle more special bash-isms
Example: we can point $* to argv Fixes #1288
Diffstat (limited to 'expand.h')
-rw-r--r--expand.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/expand.h b/expand.h
index 9f00378e..1f42982b 100644
--- a/expand.h
+++ b/expand.h
@@ -198,18 +198,6 @@ wcstring replace_home_directory_with_tilde(const wcstring &str);
int expand_is_clean(const wchar_t *in);
/**
- Perform error reporting for a syntax error related to the variable
- expansion beginning at the specified character of the specified
- token. This function will call the error function with an
- explanatory string about what is wrong with the specified token.
-
- \param token The token containing the error
- \param token_pos The position where the expansion begins
- \param error_pos The position on the line to report to the error function.
-*/
-void expand_variable_error(parser_t &parser, const wcstring &token, size_t token_pos, int error_pos);
-
-/**
Testing function for getting all process names.
*/
std::vector<wcstring> expand_get_all_process_names(void);