- qr/^\s*GENERATE\[((?:\\.|[^\\\]])+)\]\s*=\s*(.*)\s*$/
- => sub { push @{$generate{$1}}, $2
+ qr/^\s* DEPEND ${index_re} ${attribs_re} = ${value_re} $/x
+ => sub {
+ if (!@skip || $skip[$#skip] > 0) {
+ my $i = $expand_variables->($+{INDEX});
+ my @d = tokenize($expand_variables->($+{VALUE}));
+ push @{$depends{$i}}, @d;
+ $handle_attributes->($+{ATTRIBS},
+ \$attributes{depends}->{$i},
+ @d);
+ }
+ },
+ qr/^\s* GENERATE ${index_re} = ${value_re} $/x
+ => sub { push @{$generate{$expand_variables->($+{INDEX})}},
+ $+{VALUE}