2
0
Эх сурвалжийг харах

Added Evgeniy's genifo patch.

Mark Sibly 8 жил өмнө
parent
commit
413de4b440

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 )