]> git.draconx.ca Git - gob-dx.git/blobdiff - src/tree.c
Release 0.90.1
[gob-dx.git] / src / tree.c
index 279180a5dc30311b9aa95f038706b28118dd6afe..ab06d4f8fde793dc46b06ecd1950c7d951af8521 100644 (file)
@@ -77,7 +77,7 @@ new_funcarg(Type *atype, char *name, GList *checks)
 }
 
 Node *
-new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf, int line_no,int ccode_line)
+new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf, int line_no,int ccode_line, int vararg)
 {
        Method *node = (Method *)g_new(Node,1);
        node->type = METHOD_NODE;
@@ -91,6 +91,7 @@ new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList
        node->cbuf = cbuf;
        node->line_no = line_no;
        node->ccode_line = ccode_line;
+       node->vararg = vararg;
        return (Node *)node;
 }