Commit 2970c311 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix trac #107.

parent cb49864e
......@@ -585,7 +585,7 @@ class CArgDeclNode(Node):
could_be_name = False
base_type = self.base_type.analyse(env, could_be_name = could_be_name)
if self.base_type.arg_name:
if hasattr(self.base_type, 'arg_name') and self.base_type.arg_name: = self.base_type.arg_name
return self.declarator.analyse(base_type, env, nonempty = nonempty)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment