summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 86f9aaf0..9780548e 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -51,9 +51,9 @@ class Type(Node):
class Parameter(Node):
- def __init__(self, name, type_name):
+ def __init__(self, name, typenode):
Node.__init__(self, name)
- self.type = Type(type_name)
+ self.type = typenode
self.direction = 'in'
self.transfer = False