Changeset 387


Ignore:
Timestamp:
10/31/12 23:27:50 (11 years ago)
Author:
ymipsl
Message:

supress white space in parsing variable.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/variable.cpp

    r369 r387  
    9595           endid   = content.find_first_of ( " \r\n\t=", beginid ); 
    9696           subid   = content.substr ( beginid, endid-beginid); 
     97           subid   = boost::to_lower_copy(boost::trim_copy(subid)) ; 
    9798 
    9899           begindata = content.find_first_of ( "=", endid ) + 1; 
    99100           enddata   = content.find_first_of ( ";", begindata ); 
    100101           subdata   = content.substr ( begindata, enddata-begindata); 
     102           subdata   = boost::to_lower_copy(boost::trim_copy(subdata)) ; 
    101103 
    102104           group_ptr->createChild(subid)->content = subdata ; 
Note: See TracChangeset for help on using the changeset viewer.