Ignore:
Timestamp:
Nov 2, 2010, 4:39:22 AM (11 years ago)
Author:
Peter Johansson
Message:

fixes #484, and shaped test copyright2_test.sh to test for this. Also changed name of test to option.test to avoid conflict between object files on case insensitive file systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r1264 r1266  
    274274  void Directory::traverse(NodeVisitor& visitor)
    275275  {
    276     visitor.enter(*this);
    277     for (NodeIterator first=daughters_.begin(), end=daughters_.end();
    278         first!=end; ++first)
    279       (*first)->traverse(visitor);
     276    if (visitor.enter(*this))
     277      for (NodeIterator first=daughters_.begin(), end=daughters_.end();
     278          first!=end; ++first)
     279        (*first)->traverse(visitor);
    280280    visitor.leave(*this);
    281281  }
Note: See TracChangeset for help on using the changeset viewer.