diff options
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 */ |