Changeset 240

Show
Ignore:
Timestamp:
02/26/07 23:59:37 (2 years ago)
Author:
Alan Knowles
Message:

last change broke directory completion

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/leds/LanguageD.d

    r239 r240  
    465465            } 
    466466            // got a parent 
    467             container = cast(CodeBlock)type.parent; // use the scope of the definition. 
     467            // use the scope of the definition. 
     468            container = cast(CodeBlock)type.parent ? cast(CodeBlock)type.parent : cast(CodeBlock)type.moduleObj;  
    468469            lookupwith = null; 
    469470            if (container) {