summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-03-27 20:53:50 +0000
committerPaul Smith <psmith@gnu.org>2000-03-27 20:53:50 +0000
commit4145bcbcda65dbc65a06bb51868b4033a5ca4231 (patch)
treef6721fcfeef5132082da38c2b88b935850b7ef00 /file.c
parentc637af71d9398a269c467a132109e0ef853806d4 (diff)
downloadgunmake-4145bcbcda65dbc65a06bb51868b4033a5ca4231.tar.gz
* Handle case of empty static pattern rule prerequisites.
* Fix linenumbers in error messages for rule definitions.
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index c64db0b..10ae1b8 100644
--- a/file.c
+++ b/file.c
@@ -58,8 +58,7 @@ lookup_file (name)
register char *lname, *ln;
#endif
- if (*name == '\0')
- abort ();
+ assert (*name != '\0');
/* This is also done in parse_file_seq, so this is redundant
for names read from makefiles. It is here for names passed