mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
More tweaks
darcs-hash:20051213201121-ac50b-cdb07b1535b7a7f521d5a4360d09a449315a65a3.gz
This commit is contained in:
7
parser.c
7
parser.c
@@ -118,6 +118,11 @@ The fish parser. Contains functions for parsing code.
|
||||
*/
|
||||
#define INVALID_ELSE_ERR_MSG L"'else' builtin not inside of if block"
|
||||
|
||||
/**
|
||||
Error when using end builtin outside of block
|
||||
*/
|
||||
#define INVALID_END_ERR_MSG L"'end' command outside of block"
|
||||
|
||||
/**
|
||||
Error message for Posix-style assignment
|
||||
*/
|
||||
@@ -2376,7 +2381,7 @@ int parser_test( wchar_t * buff,
|
||||
{
|
||||
error( SYNTAX_ERROR,
|
||||
tok_get_pos( &tok ),
|
||||
L"'end' command outside of block" );
|
||||
INVALID_END_ERR_MSG );
|
||||
print_errors();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user