Răsfoiți Sursa

Added Evgeniy's genifo patch.

Mark Sibly 8 ani în urmă
părinte
comite
413de4b440
2 a modificat fișierele cu 9 adăugiri și 0 ștergeri
  1. BIN
      bin/mx2cc_windows.exe
  2. 9 0
      src/mx2cc/geninfo/geninfo.monkey2

BIN
bin/mx2cc_windows.exe


+ 9 - 0
src/mx2cc/geninfo/geninfo.monkey2

@@ -68,6 +68,15 @@ Class ParseInfoGenerator
 		
 		Return MakeNode( decl )
 	End
+
+	Method GenNode:JsonObject( decl:FileDecl )
+	
+		local node:=MakeNode( decl )
+		
+		If decl.imports node.SetValue( "imports",GenNode( decl.imports ) )
+		
+		Return node
+	End
 	
 	Method GenNode:JsonObject( decl:ClassDecl )