| Index: tools/gen-postmortem-metadata.py
|
| diff --git a/tools/gen-postmortem-metadata.py b/tools/gen-postmortem-metadata.py
|
| index 1b6a6bbcf05fd57c602f84f58db6098bfcb6a166..3979604cacda33eaea888224fcf81cc7a6f69921 100644
|
| --- a/tools/gen-postmortem-metadata.py
|
| +++ b/tools/gen-postmortem-metadata.py
|
| @@ -264,12 +264,14 @@ def load_objects():
|
| typestr += line;
|
| continue;
|
|
|
| - match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{',
|
| + match = re.match('class (\w[^:]*)(: public (\w[^{]*))?\s*{\s*/\* POSTMORTEM',
|
| line);
|
|
|
| if (match):
|
| - klass = match.group(1);
|
| + klass = match.group(1).rstrip().lstrip();
|
| pklass = match.group(3);
|
| + if (pklass):
|
| + pklass = pklass.rstrip().lstrip();
|
| klasses[klass] = { 'parent': pklass };
|
|
|
| #
|
|
|