summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2009-08-14 18:48:16 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2009-08-14 18:48:16 +0000
commit315d2a2dd3220e48ab836662c168a9cacc3d4585 (patch)
tree900e3dfd999a901e27e27a75c72ddac847574ae3 /devtools
parent17a3584e0f2f9fec5b76265d69b2c15e723e5447 (diff)
downloadMPC-315d2a2dd3220e48ab836662c168a9cacc3d4585.tar.gz
ChangeLogTag: Fri Aug 14 18:46:11 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/document_template.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/document_template.pl b/devtools/document_template.pl
index c60bfecb..f1c51f65 100755
--- a/devtools/document_template.pl
+++ b/devtools/document_template.pl
@@ -241,7 +241,7 @@ if (open($fh, $input)) {
$vname =~ s/\s.*//;
$vname =~ s/s$// if ($remove_s);
- $foreach[$findex] = $vname;
+ $foreach[$findex] = lc($vname);
$tvar = undef;
}
elsif ($name eq 'if') {
@@ -260,6 +260,7 @@ if (open($fh, $input)) {
}
} while($retry);
$vname =~ s/\s*,.*//;
+ $vname =~ s/\)//g;
if ($vname !~ /^\s*$/) {
$name = lc($vname);