@@ -127,7 +127,7 @@ class Argument:
self.vararg = False
# try for a function pointer
- match = re.match('(.*)\(\*([a-zA-Z0-9$_]*)\)\((.*)\)', text)
+ match = re.match(r'(.*)\(\*([a-zA-Z0-9$_]*)\)\((.*)\)', text)
if match:
self.function_pointer = True
self.args = match.group(3)
@@ -135,7 +135,7 @@ class Argument:
self.name = match.group(2).rstrip()
else:
# plain declaration
- match = re.match('(.*[ *])\(?\*?([a-zA-Z0-9$_]*)\)?', text)
+ match = re.match(r'(.*[ *])\(?\*?([a-zA-Z0-9$_]*)\)?',
text)
# there may not be a match, say in the special case
# where an arg is '...'