Ignore:
Timestamp:
Nov 5, 2013, 3:40:52 PM (11 years ago)
Author:
rybkin
Message:

See C.L. 511

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_syntax.cxx

    r607 r652  
    212212               int line_number)
    213213  {
    214        
     214    /*       
    215215    cmt_string cmtpath;
    216216    cmt_string offset;
     
    219219
    220220    Project* p = Project::find_by_cmtpath (cmtpath);
     221    */
     222    Project* p = const_cast<Project*>(use->get_project ());
     223    //    const Project* p = use->get_project ();
    221224
    222225    for (int i = 1; i < words.size (); i++)
     
    10601063               int line_number)
    10611064  {
     1065    /*
    10621066    cmt_string cmtpath;
    10631067    cmt_string offset;
     
    10661070
    10671071    Project* p = Project::find_by_cmtpath (cmtpath);
     1072    */
     1073    Project* p = const_cast<Project*>(use->get_project ());
     1074    //    const Project* p = use->get_project ();
    10681075
    10691076    for (int i = 1; i < words.size (); i++)
     
    11641171               int line_number)
    11651172  {
     1173    /*
    11661174    cmt_string cmtpath;
    11671175    cmt_string offset;
     
    11701178
    11711179    Project* p = Project::find_by_cmtpath (cmtpath);
     1180    */
     1181    Project* p = const_cast<Project*>(use->get_project ());
     1182    //    const Project* p = use->get_project ();
    11721183
    11731184    for (int i = 1; i < words.size (); i++)
     
    14031414      //
    14041415     
    1405       Project* p = use->get_project ();
     1416      const Project* p = use->get_project ();
    14061417      if (p != 0)
    14071418        {     
Note: See TracChangeset for help on using the changeset viewer.