diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2009-08-14 18:48:16 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2009-08-14 18:48:16 +0000 |
commit | 315d2a2dd3220e48ab836662c168a9cacc3d4585 (patch) | |
tree | 900e3dfd999a901e27e27a75c72ddac847574ae3 /devtools | |
parent | 17a3584e0f2f9fec5b76265d69b2c15e723e5447 (diff) | |
download | MPC-315d2a2dd3220e48ab836662c168a9cacc3d4585.tar.gz |
ChangeLogTag: Fri Aug 14 18:46:11 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/document_template.pl | 3 |
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); |