* job.c (child_error): Modify error message string.

Ensure Emacs compile-mode's next-error doesn't match target failure
messages.  Syntax errors in makefiles are still matched.
This commit is contained in:
Paul Smith
2017-10-28 18:45:30 -04:00
parent b9c25de370
commit 6264deece3
12 changed files with 24 additions and 21 deletions

View File

@@ -50,7 +50,7 @@ $delete_error_code = $? >> 8;
$answer = "$rm_command cleanit
$cleanit_error
$make_name: [$makefile:2: clean] Error $delete_error_code (ignored)
$make_name: [$makefile;2: clean] Error $delete_error_code (ignored)
$rm_command foo\n";
&run_make_with_options($makefile,"",&get_logfile);
@@ -77,7 +77,7 @@ if (!$vos)
$answer = "$rm_command cleanit
$cleanit_error
$make_name: [$makefile:5: clean2] Error $delete_error_code (ignored)
$make_name: [$makefile;5: clean2] Error $delete_error_code (ignored)
$rm_command foo\n";
&run_make_with_options($makefile,"clean2 -i",&get_logfile);
@@ -98,7 +98,7 @@ all:
@echo there
@exit 1
!,
'', "hi\nthere\n#MAKE#: *** [#MAKEFILE#:5: all] Error 1", 512);
'', "hi\nthere\n#MAKE#: *** [#MAKEFILE#;5: all] Error 1", 512);
1;