ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/ToolDoc.pm
(Generate patch)

Comparing COMP/SCRAM/src/BuildSystem/ToolDoc.pm (file contents):
Revision 1.1.2.7 by williamc, Tue Apr 25 14:12:46 2000 UTC vs.
Revision 1.1.2.10 by williamc, Fri May 5 14:18:45 2000 UTC

# Line 82 | Line 82 | sub setup {
82          $name=~tr[A-Z][a-z];
83          $self->{tool}->name($name);
84          $self->{tool}->version($version);
85        $self->{tool}->url($file);
85          $self->{switch}->filetoparse($file);
86          $self->{toolfound}=1;
87          $self->{switch}->parse("setup");
# Line 274 | Line 273 | sub Environment_Start {
273            $self->{currentenvtext}="";
274            $self->{EnvContext}=$$hashref{'name'};
275            undef $self->{Envvalue};
276 <          if ( exists $$hahsref{'type'} ) {
277 <            $self->{tool}->type($$hashref{'name'},$$hahsref{'type'});
276 >          if ( exists $$hashref{'type'} ) {
277 >            $$hashref{'type'}=~tr[A-Z][a-z];
278 >            $self->{tool}->type($$hashref{'name'},$$hashref{'type'});
279            }
280            if ( exists $$hashref{'value'}) {
281              $self->{Envvalue}=$$hashref{'value'};
# Line 308 | Line 308 | sub Environment_End {
308  
309          if ( $self->{Arch} ) {
310            if ( ! defined $self->{EnvContext} ) {
311 <            $self->{switch}->parseerror("</\$name> without an opening context");
311 >            $self->{switch}->parseerror("</$name> without an opening context");
312            }
313            # - set the help text
314            $self->featuretext($self->{EnvContext},$self->{currentenvtext});

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines