summaryrefslogtreecommitdiff
path: root/rule.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
commit1e5a440ef415b423755f90fff8176e19bb9eac64 (patch)
tree4603a4b4e5ec9a6366e02f5ece9b6f6e9371084c /rule.c
parent04eac7d54620ca1bd161911053eb9233b4dd97a0 (diff)
downloadmake-1e5a440ef415b423755f90fff8176e19bb9eac64.tar.gz
Checkpoint changes. Bug fixes, mostly.
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rule.c b/rule.c
index 69336312..eb4602fd 100644
--- a/rule.c
+++ b/rule.c
@@ -416,8 +416,8 @@ install_pattern_rule (p, terminal)
{
r->terminal = terminal;
r->cmds = (struct commands *) xmalloc (sizeof (struct commands));
- r->cmds->filename = 0;
- r->cmds->lineno = 0;
+ r->cmds->fileinfo.filenm = 0;
+ r->cmds->fileinfo.lineno = 0;
/* These will all be string literals, but we malloc space for them
anyway because somebody might want to free them later. */
r->cmds->commands = savestring (p->commands, strlen (p->commands));
@@ -664,7 +664,7 @@ print_rule_data_base ()
}
if (num_pattern_rules != rules)
- fatal ("BUG: num_pattern_rules wrong! %u != %u",
+ fatal (NILF, "BUG: num_pattern_rules wrong! %u != %u",
num_pattern_rules, rules);
puts ("\n# Pattern-specific variable values");