message: Fix multiple lines and ignore double %
diff: @@ -38,6 +38,7 @@ if __name__ == "__main__":
  lineCounter = 1
  tempLine = ""
  + tempCount = 0
  for row in rows:
  # Collapse multiple lines into one
  @@ -68,11 +69,12 @@ if __name__ == "__main__":
  numExtraPercents = tempLine.count('%', commaAfterEndSpecifierStringIndex)
  # Subtract extra from total count. This is the number of expected specifiers
  - numPercents = tempLine.count('%') - numExtraPercents
  + # ignore %%
  + numPercents = tempLine.count('%') - numExtraPercents - 2*tempLine.count('%%')
  if numPercents != numCommas:
  print "Incorrect number of arguments for LogPrint(f) statement found."
  - print(str(file) + ":" + str(lineCounter))
  + print(str(file) + ":" + str(lineCounter - tempCount))
  print "Line = " + tempLine
  print("numRelevantCommas = " + str(numCommas) + ", numRelevantPercents = " + str(numPercents))
  print ""
  @@ -81,8 +83,14 @@ if __name__ == "__main__":
  # Done with this multiline, clear tempLine
  tempLine = ""
  -
  + tempCount = 0
  + else:
  + tempCount += 1
  + else:
  + # No LogPrint, clear tempLine
  tempLine = ""
  + tempCount = 0
  +
  lineCounter += 1
  print("# of incorrect instances: " + str(incorrectInstanceCounter))
  