if_diff/src/idfLocation.cxx
//============================================================================
// Put the end lines and columns into a consistent form for comparison.
//============================================================================
Put the end lines and columns into a consistent form for comparison.
Put the end lines and columns into a consistent form for comparison .
static void canonical_end(const locationStruct &loc, int &end_line, int &end_column)
{
  end_line = loc.end_line == 0 ? loc.start_line : loc.end_line;
  end_column = loc.end_line == 0 ? loc.start_column - 1 + loc.end_column
                                 : loc.end_column;
}
static void canonical_end ( const locationStruct & loc , int & end_line , int & end_column ) { end_line = loc . end_line == 0 ? loc . start_line : loc . end_line ; end_column = loc . end_line == 0 ? loc . start_column - 1 + loc . end_column : loc . end_column ; }
Put the end lines and columns into a consistent form for comparison.
Put the end lines and columns into a consistent form for comparison .