diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-13 03:57:59 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-13 03:57:59 -0800 |
commit | 6fc1d7dc7705c9e6376ae220f1f7afa85434dc26 (patch) | |
tree | bfaa8dca0f6df156cd84af606608afe96ae0a6f7 /parser.cpp | |
parent | d9056081e78cc847574589d8ca31f2e25a82b6f5 (diff) |
Further cleanup and improvements to error messages
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -89,7 +89,7 @@ The fish parser. Contains functions for parsing and evaluating code. /** Error message when encountering an illegal file descriptor */ -#define ILLEGAL_FD_ERR_MSG _( L"Illegal file descriptor '%ls'") +#define ILLEGAL_FD_ERR_MSG _( L"Illegal file descriptor in redirection '%ls'") /** Error message for wildcards with no matches @@ -142,11 +142,6 @@ The fish parser. Contains functions for parsing and evaluating code. #define INVALID_REDIRECTION_ERR_MSG _( L"Encountered redirection when expecting a command name. Fish does not allow a redirection operation before a command.") /** - Error for evaluating null pointer -*/ -#define EVAL_NULL_ERR_MSG _( L"Tried to evaluate null pointer." ) - -/** Error for evaluating in illegal scope */ #define INVALID_SCOPE_ERR_MSG _( L"Tried to evaluate commands using invalid block type '%ls'" ) |