From f23fa4827aefd4b7ffa36ffef6a6d1e577bc4ab2 Mon Sep 17 00:00:00 2001 From: axel Date: Sat, 8 Oct 2005 12:27:06 +1000 Subject: [PATCH] Minor fixes darcs-hash:20051008022706-ac50b-e7726d32381d37e64351cb29d3bd80953ef9ff11.gz --- parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser.c b/parser.c index 6cacf015e..715d3e9e0 100644 --- a/parser.c +++ b/parser.c @@ -75,7 +75,7 @@ The fish parser. Contains functions for parsing code. /** Error message used when the end of a block can't be located */ -#define BLOCK_END_ERR_MSG L"Could not locate end of block. The 'end' command may be missing or misspelled." +#define BLOCK_END_ERR_MSG L"Could not locate end of block. The 'end' command is missing, misspelled or a preceeding ';' is missing." /** Error message on reaching maximum number of block calls @@ -1822,7 +1822,7 @@ static void eval_job( tokenizer *tok ) } } - if(( is_subshell || is_block || !is_interactive) /*&& (!is_event)*/) + if(( is_subshell || is_block || !is_interactive) && (!is_event)) job_do_notification(); // debug( 2, L"end eval_job()\n" ); }