Browse Source

WIP geninfo.

Mark Sibly 7 years ago
parent
commit
3ddece0f03
2 changed files with 26 additions and 0 deletions
  1. 25 0
      src/mx2cc/.mx2/test.monkey2
  2. 1 0
      src/mx2cc/test.monkey2

+ 25 - 0
src/mx2cc/.mx2/test.monkey2

@@ -0,0 +1,25 @@
+
+#Import "<std>"
+
+#Import "test2"
+
+Using std..
+
+Function Test:Int()
+	
+	Return 0
+End
+
+Function Main:Void()
+	
+	Local pixmap:=New Pixmap( 256,256 )
+	
+	Local x:Int
+	Local y:Int
+	If x<10
+		Local t:=100
+	Else
+		Local t:=20
+	Endif
+End
+

+ 1 - 0
src/mx2cc/test.monkey2

@@ -1,5 +1,6 @@
 
 Function Test:Int()
+	
 	Return 0
 End