From 2f10534df65a76a0b75c0bbb8535273face05e4f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 29 Apr 1997 23:42:36 +0000 Subject: [PATCH] fix from ian --- automake.in | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/automake.in b/automake.in index 4419aa11..adf30c88 100755 --- a/automake.in +++ b/automake.in @@ -4965,7 +4965,6 @@ sub read_am_file } elsif (/$RULE_PATTERN/o) { - # warn "** Saw rule .$1.\n"; # Found a rule. $was_rule = 1; if (defined $contents{$1} @@ -4985,8 +4984,7 @@ sub read_am_file { if ($conditional{$1}) { - &check_ambiguous_conditional ($last_var_name, - $cond_string); + &check_ambiguous_conditional ($1, $cond_string); $conditional{$1} .= ' '; } else @@ -5422,22 +5420,18 @@ sub file_contents_with_transform } elsif (/$RULE_PATTERN/o) { - # warn "** Found rule .$1.\n"; # Found a rule. $was_rule = 1; $skipping = defined $contents{$1}; - # warn "** Skip $skipping\n" if $skipping; $result_rules .= $comment . $spacing . $_ if ! $skipping; $comment = $spacing = ''; $saw_bk = /\\$/; } elsif (/$MACRO_PATTERN/o) { - # warn "** Found macro .$1.\n"; # Found a variable reference. $was_rule = 0; $skipping = defined $contents{$1}; - # warn "** Skip $skipping\n" if $skipping; $result_vars .= $comment . $spacing . $_ if ! $skipping; $comment = $spacing = ''; $saw_bk = /\\$/; -- 2.43.5