diff --git a/Utilities/Doxygen/mcdoc.py b/Utilities/Doxygen/mcdoc.py index 3ff60f300eb8b0cd560ac0ac8c64eaeb4cd8c2fa..b380dd153f6754bab1ab9142b9b18951945a9d78 100644 --- a/Utilities/Doxygen/mcdoc.py +++ b/Utilities/Doxygen/mcdoc.py @@ -81,9 +81,9 @@ def checkGroup( fname, group ): # we don't care about doxygen fields not about a class if r"\class" in dcontent and dcontent != " \class classname ": # do we have a line with the expected content? - if not re.search(r"\ingroup .*"+group+"( |$)", dcontent, re.MULTILINE): + if not re.search(r"\\ingroup .*"+group+"( |$)", dcontent, re.MULTILINE): # get class name and the line for debug output - cname = re.search(r"\class +([^ ]*)", dcontent).group(1).strip() + cname = re.search(r"\\class +([^ ]*)", dcontent).group(1).strip() line = len(fcontent[:m.start(1)].splitlines()) sys.stderr.write(r'%s:%s: error: "\ingroup %s" not set in class %s.' % (fname, line, group, cname) +"\n") ret = 1