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.c | |
parent | bbf2a3836fa10b9539a5d8d0bbd143349f2c67e4 (diff) |
Major update to the ahead-of-time syntax checker
darcs-hash:20060521192524-ac50b-48713f826558e66ef21046d1bb779623cc2fd97a.gz
Diffstat (limited to 'expand.c')
-rw-r--r-- | expand.c | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -77,27 +77,6 @@ parameter expansion. #define COMPLETE_LAST_DESC _( L"Last background job") /** - 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'.") - - -/** String in process expansion denoting ourself */ #define SELF_STR L"self" @@ -804,8 +783,7 @@ static int expand_variables( wchar_t *in, array_list_t *out, int last_idx ) { error( SYNTAX_ERROR, -1, - COMPLETE_VAR_NULL_DESC, - in[stop_pos] ); + COMPLETE_VAR_NULL_DESC ); break; } |