summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1998-10-03 05:39:55 +0000
committerPaul Smith <psmith@gnu.org>1998-10-03 05:39:55 +0000
commit2c64fb221a265f9e7fc93374906b1e7540377561 (patch)
tree4603a4b4e5ec9a6366e02f5ece9b6f6e9371084c /variable.c
parente90887e68aa6dfa8c91af7d3bb2d2799f5a51b5e (diff)
downloadgunmake-2c64fb221a265f9e7fc93374906b1e7540377561.tar.gz
Checkpoint changes. Bug fixes, mostly.
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/variable.c b/variable.c
index 3155a92..85987db 100644
--- a/variable.c
+++ b/variable.c
@@ -676,9 +676,8 @@ target_environment (file)
returned. */
struct variable *
-try_variable_definition (filename, lineno, line, origin)
- char *filename;
- unsigned int lineno;
+try_variable_definition (flocp, line, origin)
+ const struct floc *flocp;
char *line;
enum variable_origin origin;
{
@@ -766,7 +765,7 @@ try_variable_definition (filename, lineno, line, origin)
expanded_name = allocated_variable_expand (name);
if (expanded_name[0] == '\0')
- makefile_fatal (filename, lineno, "empty variable name");
+ fatal (flocp, "empty variable name");
/* Calculate the variable's new value in VALUE. */