summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-09-19 13:07:53 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-09-19 13:07:53 +0000
commit84689f10cc338428c5737f430dfca894106be5a9 (patch)
treeb00cfe76c9a29404364fba310797d34206ddf1f7 /devtools
parent53193757097b3260581b609e7805fe63a6e5695b (diff)
downloadMPC-84689f10cc338428c5737f430dfca894106be5a9.tar.gz
ChangeLogTag: Tue Sep 19 13:04:15 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/document_template.pl5
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;