From 1647fe8035c0e212dc7ad69407120b19c759ebb7 Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Sat, 9 Jul 2011 19:52:40 +0000 Subject: [PATCH] fixes for latest haxe --- hscript/Macro.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hscript/Macro.hx b/hscript/Macro.hx index f445dcb..f5bfd88 100644 --- a/hscript/Macro.hx +++ b/hscript/Macro.hx @@ -115,7 +115,7 @@ class Macro { case CTAnon(fields): var tf = []; for( f in fields ) - tf.push( { name : f.name, isPublic : null, type : FVar(convertType(f.t)), pos : p } ); + tf.push( { name : f.name, meta : [], doc : null, access : [], kind : FVar(convertType(f.t),null), pos : p } ); TAnonymous(tf); }; } @@ -174,8 +174,8 @@ class Macro { opt : false, value : null, }); - EFunction( { - name : name, + EFunction(name, { + params : [], args : targs, expr : convert(e), ret : ret == null ? null : convertType(ret),