OSDN Git Service

remove extra Transform
authormzp <mzpppp@gmail.com>
Sat, 1 Nov 2008 00:44:54 +0000 (09:44 +0900)
committermzp <mzpppp@gmail.com>
Sat, 1 Nov 2008 00:44:54 +0000 (09:44 +0900)
example/swf.scm
src/codegen.ml
test/OMakefile
test/runner.ml

index 0829ef8..ed5fffe 100644 (file)
@@ -1,6 +1,5 @@
 (define-class Hello flash.display.Sprite
   ((init) (let [(t (new flash.text.TextField))]
-           (invoke t appendText "http://happy-abc.org")
+           (invoke t appendText "Hello,world!!")
            (invoke this addChild t))))
 
-42
\ No newline at end of file
index 49499ce..f521254 100644 (file)
@@ -302,7 +302,7 @@ let generate_method xs =
 
 let generate program =
   let m = 
-    generate_method @@ Closuretrans.trans program in
+    generate_method program in
   let {Asm.abc_cpool=cpool;
        method_info=info;
        method_body=body;
index aeb6923..a95455b 100644 (file)
@@ -37,7 +37,7 @@ BYTE_ENABLED = true
 #
 # Various options
 #
-OCAMLCFLAGS    += -thread aosh.cma
+OCAMLFLAGS    += -thread
 OCAMLPPFLAGS += -pp "camlp4o ../camlp4/TestCaseCollector.cmo"
 OCAMLDEPFLAGS += $(OCAMLPPFLAGS)
 
index 2e26afc..454e208 100644 (file)
@@ -1,24 +1,12 @@
 (* CAUTION: this is a generated file.  If you edit it, all changes will be lost! *)
 # 1 "runner.mlp"
 # 1 "<built-in>"
-# 1 "<command-line>"
-# 1 "./runner.h" 1
-
-
-
-
-
-
-
-
+# 1 "<command line>"
 
-
-
-
-
-
-# 1 "<command-line>" 2
+# 1 "./runner.h" 1
+# 2 "<command line>" 2
 # 1 "runner.mlp"
+
 # 1 "runner.h" 1
 open Test_abc
 open Test_asm
@@ -37,4 +25,5 @@ open Util
 # 2 "runner.mlp" 2
 
 let _ =
-  Testtbl.run_test ()
+  Testtbl.run_test () 
+