Skip to content

Commit

Permalink
fixed Gjs parsing issue with multiple, same aliases per line OpenGATE#94
Browse files Browse the repository at this point in the history
  • Loading branch information
canonnervio committed Jun 26, 2017
1 parent 788fc86 commit 73df1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster_tools/jobsplitter/src/GateMacfileParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void GateMacfileParser::InsertAliases()
G4String insert;
for (G4int i=1;i<nAliases;i+=2)
{
if (macline.contains("{"+aliases[i]+"}"))
while (macline.contains("{"+aliases[i]+"}"))
{
insert=aliases[i-1];
G4int position=macline.find("{"+aliases[i]+"}",0);
Expand Down

0 comments on commit 73df1dc

Please sign in to comment.