From c2b69b5d9de5cb701c3cbe3f2e980d5465121ec2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 19 Jan 1993 00:14:29 +0000 Subject: [PATCH] Formerly read.c.~51~ --- read.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/read.c b/read.c index 72b3fe3e..93317787 100644 --- a/read.c +++ b/read.c @@ -388,7 +388,7 @@ read_makefile (filename, type) p2 = next_token (p + 8); if (p2 == 0) makefile_error (filename, lineno, "empty `override' directive"); - if (!strncmp (p2, "define", 6)) + if (!strncmp (p2, "define", 6) && (isblank (p2[6]) || p2[6] == '\0')) { if (ignoring) in_ignored_define = 1; @@ -403,6 +403,8 @@ read_makefile (filename, type) } else if (!ignoring && !try_variable_definition (p2, o_override)) makefile_error (filename, lineno, "empty `override' directive"); + + continue; }