diff options
author | axel <axel@liljencrantz.se> | 2006-05-22 05:25:24 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-05-22 05:25:24 +1000 |
commit | 1c2cbb00bcb6fb31d509019b035a0828c940bf6e (patch) | |
tree | 083d5ae8d15fef1e9ea04bc7abd3385b83ee906e /expand.h | |
parent | bbf2a3836fa10b9539a5d8d0bbd143349f2c67e4 (diff) |
Major update to the ahead-of-time syntax checker
darcs-hash:20060521192524-ac50b-48713f826558e66ef21046d1bb779623cc2fd97a.gz
Diffstat (limited to 'expand.h')
-rw-r--r-- | expand.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -112,6 +112,27 @@ enum /** String containing the character for separating two array elements */ #define ARRAY_SEP_STR L"\x1e" +/** + Error issued on invalid variable name +*/ +#define COMPLETE_VAR_DESC _( L"The '$' character begins a variable name. The character '%lc', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'.") + +/** + Error issued on invalid variable name +*/ +#define COMPLETE_VAR_NULL_DESC _( L"The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'.") + +/** + Error issued on invalid variable name +*/ +#define COMPLETE_VAR_BRACKET_DESC _( L"Did you mean {$VARIABLE}? The '$' character begins a variable name. A bracket, which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'." ) + +/** + Error issued on invalid variable name +*/ +#define COMPLETE_VAR_PARAN_DESC _( L"Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'.") + + /** |