Ignore:
Timestamp:
Nov 20, 2006, 2:32:46 PM (18 years ago)
Author:
garonne
Message:

Extent cmt/project.cmt file syntax/grammar(it works !)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/v1r20b1/source/cmt_commands.cxx

    r282 r329  
    488488        }
    489489
    490       //cerr << "argc=" << argc << " reduced_arg=[" << reduced_arg << "] arg=[" << arg << "]" << endl;
     490      // cerr << "argc=" << argc << " reduced_arg=[" << reduced_arg << "] arg=[" << arg << "]" << endl;
    491491
    492492      if (parsers.has (reduced_arg))
     
    17561756    Here we are going to change the complete tag set
    17571757  */
    1758              
    17591758  if (arg != "")
    17601759    {
     
    17811780        {
    17821781          const cmt_string& a = words[i];
    1783                      
     1782      //if (!cmt.m_quiet) cout  << "parse_argument(tag_add)> current_tag=" << a << endl;                     
    17841783          cmt_string s = ",";
    17851784          s += a;
     
    17901789              cmt.m_current_tag = a;
    17911790                         
    1792               if (CmtSystem::testenv ("TAGDEBUG")) cerr
    1793                 << "parse_argument(tag_add)> current_tag=" << cmt.m_current_tag << endl;
     1791              if (CmtSystem::testenv ("TAGDEBUG"))
     1792              cerr << "parse_argument(tag_add)> current_tag=" << cmt.m_current_tag << endl;
    17941793            }
    17951794                     
     
    18051804                         
    18061805              tag = Tag::add (a, PriorityArgument, "arguments", 0);
    1807                          
    18081806              tag->mark ();
    1809                          
    18101807              cmt.m_extra_tags += a;
    18111808              cmt.m_extra_tags += ",";
    18121809            }
    18131810        }
     1811        // To be sure that a tag
     1812        Cmt::guess_current_project ();
    18141813    }
    18151814}
     
    18191818  Tag* tag;
    18201819  CmtSystem::cmt_string_vector words;
    1821              
    1822   //if (!cmt.m_quiet) cerr << "-tag_add=" << arg << endl;
     1820 
     1821  if (!cmt.m_quiet) cout << "-tag_add=" << arg << endl;
    18231822
    18241823  CmtSystem::split (arg, " \t,", words);
Note: See TracChangeset for help on using the changeset viewer.