Changeset 464

Show
Ignore:
Timestamp:
01/25/08 08:52:24 (4 years ago)
Author:
mgalloy
Message:

Keeping 3.0 branch up-to-date with trunk bug fixes.

Location:
branches/IDLDOC_3_0/idldoc/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/IDLDOC_3_0/idldoc/src/parser/docparformatparser__define.pro

    r425 r464  
    116116    for p = 0L, self.heldProperties->count() - 1L do begin 
    117117      class->addProperty, self.heldProperties->get(position=p) 
    118     endfor         
    119   endif else begin 
    120     properties = self.heldProperties->get(/all, count=nProps) 
    121     if (nProps gt 0) then obj_destroy, properties 
    122   endelse 
    123   self.heldProperties->remove, /all 
     118    endfor  
     119    self.heldProperties->remove, /all        
     120  endif 
    124121end 
    125122   
     
    153150end 
    154151 
    155    
     152 
     153;+ 
     154; Start parsing a new file, so clear any stuff remembered about the last file. 
     155;- 
     156pro docparformatparser::startNewFile 
     157  compile_opt strictarr 
     158 
     159  self.heldProperties->remove, /all 
     160end 
     161 
     162 
    156163;+ 
    157164; Free resources. 
  • branches/IDLDOC_3_0/idldoc/src/parser/docparprofileparser__define.pro

    r391 r464  
    284284   
    285285  formatParser = self.system->getParser(format + 'format') 
    286      
     286  formatParser->startNewFile 
     287   
    287288  insideComment = 0B 
    288289  justFinishedComment = 0L   ; 0, 1 (in header), 2 (just finished) 
  • branches/IDLDOC_3_0/idldoc/src/tree/doctreeproperty__define.pro

    r425 r464  
    113113  compile_opt strictarr 
    114114   
    115   return, self.class->isVisible() 
     115  return, obj_valid(self.class) ? self.class->isVisible() : 0B 
    116116end 
    117117 
     
    122122pro doctreeproperty::cleanup 
    123123  compile_opt strictarr 
    124        
     124 
    125125  obj_destroy, self.comments 
    126126end