proper handling of comments and descriptions in the RUN block.

This commit is contained in:
suter_a 2025-01-29 08:04:48 +01:00
parent 6a32ba5766
commit 86b5080dee

View File

@ -3244,7 +3244,10 @@ Bool_t PMsrHandler::HandleRunEntry(PMsrLines &lines)
while ((iter != lines.end()) && !error) {
// remove potential comment at the end of lines
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)
str.Remove(idx);