﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
144	Improvements to source text	Stephen Siegel	ywei	"This is all very minor but would improve the output a little.
In a for loop, the text associated to the increment expression extends one character beyond the expression, which usually means it includes the right parenthesis:
{{{
diffusion1_par.mmp line 25 proc 0 [MPI_Send@3->MPI_Send@1] ""i++)"" 
}}}
If it were not in a for statement, this would be correct because you want to include the final semicolon, but here it doesn't look good.

Also, for the conditional node associated to a for loop node, the source text includes the entire for expression:
{{{
diffusion1_par.mmp line 25 proc 0 [MPI_Send@1->MPI_Send@4] ""for (i=0; i<count; i++)"" [false] 
}}}
which I find a little confusing or inconsistent, because this statement is not executing the initialization or increment statements, it is only checking the loop continuation condition.   Could we just include the condition here: ""{{{i<count}}}"" ?



"	enhancement	closed	trivial		front	1.0	fixed	for loop source	
