aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-04 02:53:34 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-04 02:54:08 -0800
commit79d14521db4c71250109785b8317aeceecd539c9 (patch)
treec2f8587332924e5887366d7edad98ff5f8c1950a /expand.cpp
parent8d6b0c8d764ee6500301ecb937eb636216d9bcd4 (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.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/expand.cpp b/expand.cpp
index cd7194a3..5b92cac7 100644
--- a/expand.cpp
+++ b/expand.cpp
@@ -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")