Further cleanup and improvements to error messages

This commit is contained in:
ridiculousfish
2014-01-13 03:57:59 -08:00
parent d9056081e7
commit 6fc1d7dc77
3 changed files with 15 additions and 72 deletions

View File

@@ -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
@@ -141,11 +141,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
*/