|
|
@ -513,9 +513,9 @@ class CppHeaderParser(object): |
|
|
|
if rettype == classname or rettype == "~" + classname: |
|
|
|
if rettype == classname or rettype == "~" + classname: |
|
|
|
rettype, funcname = "", rettype |
|
|
|
rettype, funcname = "", rettype |
|
|
|
else: |
|
|
|
else: |
|
|
|
if bool(re.match('\w+\s+\(\*\w+\)\s*\(.*\)', decl_str)): |
|
|
|
if bool(re.match(r'\w+\s+\(\*\w+\)\s*\(.*\)', decl_str)): |
|
|
|
return [] # function typedef |
|
|
|
return [] # function typedef |
|
|
|
elif bool(re.match('\w+\s+\(\w+::\*\w+\)\s*\(.*\)', decl_str)): |
|
|
|
elif bool(re.match(r'\w+\s+\(\w+::\*\w+\)\s*\(.*\)', decl_str)): |
|
|
|
return [] # class method typedef |
|
|
|
return [] # class method typedef |
|
|
|
elif bool(re.match('[A-Z_]+', decl_start)): |
|
|
|
elif bool(re.match('[A-Z_]+', decl_start)): |
|
|
|
return [] # it seems to be a macro instantiation |
|
|
|
return [] # it seems to be a macro instantiation |
|
|
|