Show
Ignore:
Timestamp:
03/28/08 19:23:31 (4 years ago)
Author:
BCS
Message:

fixed a debug output issue
added a grammar fixer utility

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dparser/dparse.d

    r268 r269  
    12761276    static const char[] nameIs = rule.Name; 
    12771277    //debug(dParse_light)  
    1278     pragma(msg, "<used>"~nameIs~"</used>"); 
     1278    //pragma(msg, "<used>"~nameIs~"</used>"); 
    12791279 
    12801280    Stack!(Frame) backups; 
     
    13421342                        // get one 
    13431343                    debug(dparse_verbose) pragma(msg, "\t\t\t recurse in from \""~rule.Name~"\" on \""~cl.Text~\"\n); 
    1344                         alias DotAction!(nameIs, cl.Text) _; 
     1344                        //alias DotAction!(nameIs, cl.Text) _; 
    13451345                    auto tmpStore1 = parserBase.Terminal!(cl.Text)(p); 
    13461346                    assert(tmpStore1 !is null); 
     
    13991399 
    14001400                    debug(dparse_verbose) pragma(msg, "\t\t\trecurse in from \""~rule.Name~"\" on \""~cl.Text~\"\n); 
    1401                         alias DotAction!(nameIs, cl.Text) _; 
     1401                        //alias DotAction!(nameIs, cl.Text) __; 
    14021402                    auto tmpStore2 = parserBase.Terminal!(cl.Text)(p); 
    14031403                    assert(tmpStore2 ! is null);