diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-08-11 01:00:05 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-08-11 01:00:05 -0700 |
commit | 871a8223794ebbf975944923dc47a75fabd147d3 (patch) | |
tree | b8754f4d871829a3c7942619807ce8af8c633f07 /src/builtin.h | |
parent | b9b6b6108e53e3b5ea09b78c334b16fa0e4ac8a9 (diff) |
Remove some dead #defines
Diffstat (limited to 'src/builtin.h')
-rw-r--r-- | src/builtin.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/builtin.h b/src/builtin.h index 4d63fcb2..e2a9478e 100644 --- a/src/builtin.h +++ b/src/builtin.h @@ -63,36 +63,10 @@ enum #define BUILTIN_ERR_VARNAME_ZERO _( L"%ls: Variable name can not be the empty string\n" ) /** - Error message when second argument to for isn't 'in' -*/ -#define BUILTIN_FOR_ERR_IN _( L"%ls: Second argument must be 'in'\n" ) - -/** - Error message for insufficient number of arguments -*/ -#define BUILTIN_FOR_ERR_COUNT _( L"%ls: Expected at least two arguments, got %d\n") - -#define BUILTIN_FOR_ERR_NAME _( L"%ls: '%ls' is not a valid variable name\n" ) - -/** Error messages for 'else if' */ -#define BUILTIN_ELSEIF_ERR_COUNT _( L"%ls: can only take 'if' and then another command as an argument\n") -#define BUILTIN_ELSEIF_ERR_ARGUMENT _( L"%ls: any second argument must be 'if'\n") - -/** Error message when too many arguments are supplied to a builtin */ #define BUILTIN_ERR_TOO_MANY_ARGUMENTS _( L"%ls: Too many arguments\n" ) -/** - Error message when block types mismatch in the end builtin, e.g. 'begin; end for' -*/ -#define BUILTIN_END_BLOCK_MISMATCH _( L"%ls: Block mismatch: '%ls' vs. '%ls'\n" ) - -/** - Error message for unknown block type in the end builtin, e.g. 'begin; end beggin' -*/ -#define BUILTIN_END_BLOCK_UNKNOWN _( L"%ls: Unknown block type '%ls'\n" ) - #define BUILTIN_ERR_NOT_NUMBER _( L"%ls: Argument '%ls' is not a number\n" ) /** Get the string used to represent stdout and stderr */ |