proper handling of comments and descriptions in the RUN block.
This commit is contained in:
parent
6a32ba5766
commit
86b5080dee
@ -3244,7 +3244,10 @@ Bool_t PMsrHandler::HandleRunEntry(PMsrLines &lines)
|
|||||||
while ((iter != lines.end()) && !error) {
|
while ((iter != lines.end()) && !error) {
|
||||||
// remove potential comment at the end of lines
|
// remove potential comment at the end of lines
|
||||||
str = iter->fLine;
|
str = iter->fLine;
|
||||||
Ssiz_t idx = str.Index("(");
|
Ssiz_t idx = str.Index("#");
|
||||||
|
if (idx != -1)
|
||||||
|
str.Remove(idx);
|
||||||
|
idx = str.Index("(");
|
||||||
if (idx != -1)
|
if (idx != -1)
|
||||||
str.Remove(idx);
|
str.Remove(idx);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user