Changeset 43

Show
Ignore:
Timestamp:
06/23/08 18:04:55 (4 months ago)
Author:
aarti_pl
Message:

- removed debugging pragmas

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doost/text/Scanner.d

    r39 r43  
    826826 ******************************************************************************/ 
    827827Matcher scanSequence(T, S)(T input, S[] sequence, uint pos = 0) { 
    828     pragma(msg, "scanSequence: " ~ T.stringof ~ ", " ~ (S[]).stringof) 
     828    //pragma(msg, "scanSequence: " ~ T.stringof ~ ", " ~ (S[]).stringof) 
    829829    for(uint i=0; i < sequence.length; i++) { 
    830830        if (input.eos(pos)) return Matcher(pos, Matcher.missing_input); 
     
    905905    bool matched = false; 
    906906    uint cnt = rep; 
    907     pragma(msg, T.stringof ~ S.stringof ); 
     907    //pragma(msg, T.stringof ~ S.stringof ); 
    908908 
    909909    while(cnt > 0) { 
     
    921921        } else 
    922922        static if (isArray!(S)) { 
    923             pragma(msg, typeof(input).stringof ~ " ?? " ~ typeof(condition).stringof); 
     923            //pragma(msg, typeof(input).stringof ~ " ?? " ~ typeof(condition).stringof); 
    924924            m = scanSequence(input, condition, pos); 
    925             pragma(msg, "After scan sequence"); 
     925            //pragma(msg, "After scan sequence"); 
    926926        } else 
    927927        static if (is(S == StorageElementType!(T))) { 
     
    931931        } 
    932932 
    933         pragma(msg, "before if"); 
     933        //pragma(msg, "before if"); 
    934934        if (!m.status) { 
    935935            pos = m.position; 
     
    946946            break; 
    947947        } 
    948         pragma(msg, "after if"); 
     948        //pragma(msg, "after if"); 
    949949    } 
    950950 
     
    966966    uint pos=0; 
    967967    auto mp = scan(input, condition, pos, rep); 
    968     pragma(msg, "after auto"); 
     968    //pragma(msg, "after auto"); 
    969969    if (!mp.status) { 
    970         pragma(msg, "in if"); 
     970        //pragma(msg, "in if"); 
    971971        if (mp.position) { 
    972972            static if (isArray!(T)) { 
     
    976976            } 
    977977        } 
    978         pragma(msg, "before return"); 
     978        //pragma(msg, "before return"); 
    979979        return mp.position; 
    980980    } 
     
    11911191 
    11921192    StorageType!(T)[] stack; 
    1193     pragma(msg, typeof(stack).stringof); 
     1193    //pragma(msg, typeof(stack).stringof); 
    11941194 
    11951195    if (input.eos(pos)) return Matcher(pos, Matcher.missing_input); 
  • trunk/doost/util/serializer/Registry.d

    r39 r43  
    156156         **********************************************************************/ 
    157157        typeof(this) dup_info(){ 
    158             pragma(msg, typeof(CONCRETEARCHIVE).stringof) 
    159158            typeof(this) result; 
    160159            static if (is(typeof(this) == class)) 
  • trunk/doost/util/serializer/Serializer.d

    r39 r43  
    246246            scope(success) level--; 
    247247        } 
    248  
    249         pragma(msg, "Type: " ~ VALUE.stringof ~ " STORAGETYPE: " ~ STORAGETYPE.stringof ~ " STORAGE: " ~ STORAGE.stringof); 
    250248 
    251249        //Eventual additional operations ... at begining of traverse...