diff --git a/bin/xml2lcovutil.py b/bin/xml2lcovutil.py index 2b1bad3..1b21164 100644 --- a/bin/xml2lcovutil.py +++ b/bin/xml2lcovutil.py @@ -259,8 +259,8 @@ def buildFunction(functions, objStack, currentObj, lastLine): 'hit' : hit}) # just collect the function/class name - ignore the params - parseLine = re.compile('(\s*)((def|class)\s*([^\( \t]+))?') - #parseLine = re.compile('(\s*)((def|class)\s*([^:]+)(:|$))?') + parseLine = re.compile(r'(\s*)((def|class)\s*([^\( \t]+))?') + #parseLine = re.compile(r'(\s*)((def|class)\s*([^:]+)(:|$))?') # no information about actual branch expressions/branch # coverage - only the percentage and number hit/not hit