diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2006-09-19 13:07:53 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2006-09-19 13:07:53 +0000 |
commit | 84689f10cc338428c5737f430dfca894106be5a9 (patch) | |
tree | b00cfe76c9a29404364fba310797d34206ddf1f7 /devtools | |
parent | 53193757097b3260581b609e7805fe63a6e5695b (diff) | |
download | MPC-84689f10cc338428c5737f430dfca894106be5a9.tar.gz |
ChangeLogTag: Tue Sep 19 13:04:15 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/document_template.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devtools/document_template.pl b/devtools/document_template.pl index 7f37fdb7..e77ca03b 100755 --- a/devtools/document_template.pl +++ b/devtools/document_template.pl @@ -223,7 +223,10 @@ if (open($fh, $input)) { $tvar = undef; } elsif ($name eq 'if') { - $vname =~ s/(flag_overrides\(.*\)|!|&&|\|\|)//g; + $vname =~ s/(!|&&|\|\|)//g; + foreach my $keyword (keys %keywords) { + $vname =~ s/$keyword\(.*\)//g; + } if ($vname !~ /^\s*$/) { $name = $vname; $key = $vname; |