diff options
author | 2014-01-12 00:11:29 -0800 | |
---|---|---|
committer | 2014-01-12 00:11:29 -0800 | |
commit | 1130e4782de6378a7ad2cbb39cfb1626d7233fe8 (patch) | |
tree | 6c310220d0393cbd689f5c2cfb5bf2594807d0a0 /parse_constants.h | |
parent | 0e9d159bc2e95d71ae2051957397bc689e020e42 (diff) |
Remove some unused defines
Diffstat (limited to 'parse_constants.h')
-rw-r--r-- | parse_constants.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/parse_constants.h b/parse_constants.h index 12fcb114..266d27e1 100644 --- a/parse_constants.h +++ b/parse_constants.h @@ -131,20 +131,6 @@ typedef unsigned int parser_test_error_bits_t; /** Maximum number of function calls. */ #define FISH_MAX_STACK_DEPTH 128 -/** - Error message for tokenizer error. The tokenizer message is - appended to this message. -*/ -#define TOK_ERR_MSG _( L"Tokenizer error: '%ls'") - -/** - Error message for short circuit command error. -*/ -#define COND_ERR_MSG _( L"An additional command is required" ) - -/** Error message on a function that calls itself immediately */ -#define INFINITE_RECURSION_ERR_MSG _( L"The function calls itself immediately, which would result in an infinite loop.") - /** Error message on a function that calls itself immediately */ #define INFINITE_FUNC_RECURSION_ERR_MSG _( L"The function '%ls' calls itself immediately, which would result in an infinite loop.") @@ -152,14 +138,7 @@ typedef unsigned int parser_test_error_bits_t; /** Error message on reaching maximum call stack depth */ #define CALL_STACK_LIMIT_EXCEEDED_ERR_MSG _( L"The function call stack limit has been exceeded. Do you have an accidental infinite loop?") -/** - Error message used when the end of a block can't be located -*/ -#define BLOCK_END_ERR_MSG _( L"Could not locate end of block. The 'end' command is missing, misspelled or a ';' is missing.") - -/** - Error message when a non-string token is found when expecting a command name -*/ +/** Error message when a non-string token is found when expecting a command name */ #define CMD_ERR_MSG _( L"Expected a command name, got token of type '%ls'") /** |