diff options
author | 2014-02-21 18:20:51 -0800 | |
---|---|---|
committer | 2014-02-21 18:20:51 -0800 | |
commit | bc4340962480cc7e9d18a2057ca180f6380476cc (patch) | |
tree | 672b450c2b43abb03abece7137cd3593b6c78f88 /parse_constants.h | |
parent | a57077aba3780e011783bbd27485fd8c4eadfad0 (diff) |
Expand the variable name as an ordinary parameter in for loops. Added
test for it too.
Diffstat (limited to 'parse_constants.h')
-rw-r--r-- | parse_constants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/parse_constants.h b/parse_constants.h index 32115c01..884b76f7 100644 --- a/parse_constants.h +++ b/parse_constants.h @@ -157,6 +157,9 @@ typedef unsigned int parser_test_error_bits_t; /** Error message when encountering an illegal command name */ #define ILLEGAL_CMD_ERR_MSG _( L"Illegal command name '%ls'") +/** Error message when encountering a failed expansion, e.g. for the variable name in for loops */ +#define FAILED_EXPANSION_VARIABLE_NAME_ERR_MSG _( L"Unable to expand variable name '%ls'") + /** Error message when encountering an illegal file descriptor */ #define ILLEGAL_FD_ERR_MSG _( L"Illegal file descriptor in redirection '%ls'") |