From bc4340962480cc7e9d18a2057ca180f6380476cc Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 21 Feb 2014 18:20:51 -0800 Subject: Expand the variable name as an ordinary parameter in for loops. Added test for it too. --- parse_constants.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'parse_constants.h') 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'") -- cgit v1.2.3