diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-04 02:53:34 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-03-04 02:54:08 -0800 |
commit | 79d14521db4c71250109785b8317aeceecd539c9 (patch) | |
tree | c2f8587332924e5887366d7edad98ff5f8c1950a /expand.cpp | |
parent | 8d6b0c8d764ee6500301ecb937eb636216d9bcd4 (diff) |
Support for error detection in arguments in new parser. Restores error
reporting for bad arguments (e.g. with bad variable names)
Diffstat (limited to 'expand.cpp')
-rw-r--r-- | expand.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -54,31 +54,6 @@ parameter expansion. #include "parse_util.h" /** - Error issued on invalid variable name -*/ -#define COMPLETE_VAR_DESC _( L"The '$' character begins a variable name. The character '%lc', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'.") - -/** - Error issued on $? -*/ -#define COMPLETE_YOU_WANT_STATUS _( L"$? is not a valid variable in fish. If you want the exit status of the last command, try $status.") - -/** - Error issued on invalid variable name -*/ -#define COMPLETE_VAR_NULL_DESC _( L"The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'.") - -/** - Error issued on invalid variable name -*/ -#define COMPLETE_VAR_BRACKET_DESC _( L"Did you mean %ls{$%ls}%ls? The '$' character begins a variable name. A bracket, which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'." ) - -/** - Error issued on invalid variable name -*/ -#define COMPLETE_VAR_PARAN_DESC _( L"Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'.") - -/** Description for child process */ #define COMPLETE_CHILD_PROCESS_DESC _( L"Child process") |