More tweaks

darcs-hash:20051213201121-ac50b-cdb07b1535b7a7f521d5a4360d09a449315a65a3.gz
This commit is contained in:
axel 2005-12-14 06:11:21 +10:00
parent 211663a549
commit 3e52bd0132

View file

@ -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();
}
}