Changeset 973 for cpp/frams/_demos/paramtree_stdin_test.cpp
- Timestamp:
- 07/03/20 00:37:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/paramtree_stdin_test.cpp
r744 r973 45 45 while (group_names.getNextToken(pos, line, '\n')) 46 46 { 47 if ((line.len () > 0) && (line[line.len() - 1] == '\r')) //support for reading \r\n files...48 line = line.substr(0, line.len () - 1);49 if (line.len () > 0 && line[0] != '#') //skip empty lines and #commment lines47 if ((line.length() > 0) && (line[line.length() - 1] == '\r')) //support for reading \r\n files... 48 line = line.substr(0, line.length() - 1); 49 if (line.length() > 0 && line[0] != '#') //skip empty lines and #commment lines 50 50 param.addGroup(line.c_str()); 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.