summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-02-21 19:28:27 +0000
committerRoland McGrath <roland@redhat.com>1993-02-21 19:28:27 +0000
commitdb6a102206e6f4f2e16f447c51b799a53c3b9718 (patch)
tree7d5a99a2b64e355976da4c180a39326a9bff99c1
parentded09420ad2eec2beebd66bc16f903bfb1083035 (diff)
downloadgunmake-db6a102206e6f4f2e16f447c51b799a53c3b9718.tar.gz
Formerly read.c.~54~
-rw-r--r--read.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/read.c b/read.c
index 0b032d5..614deb7 100644
--- a/read.c
+++ b/read.c
@@ -404,7 +404,9 @@ read_makefile (filename, type)
lineno, infile, filename);
}
}
- else if (!ignoring && !try_variable_definition (p2, o_override))
+ else if (!ignoring
+ && !try_variable_definition (filename, lineno,
+ p2, o_override))
makefile_error (filename, lineno, "empty `override' directive");
continue;
@@ -454,7 +456,7 @@ read_makefile (filename, type)
p2 = next_token (p + 6);
if (*p2 == '\0')
export_all_variables = 1;
- v = try_variable_definition (p2, o_file);
+ v = try_variable_definition (filename, lineno, p2, o_file);
if (v != 0)
v->export = v_export;
else
@@ -554,7 +556,7 @@ read_makefile (filename, type)
free (pattern);
}
#undef word1eq
- else if (try_variable_definition (p, o_file))
+ else if (try_variable_definition (filename, lineno, p, o_file))
/* This line has been dealt with. */
;
else