OSDN Git Service

fix unittest
authormzp <mzpppp@gmail.com>
Mon, 14 Sep 2009 00:05:10 +0000 (09:05 +0900)
committermzp <mzpppp@gmail.com>
Mon, 14 Sep 2009 00:05:10 +0000 (09:05 +0900)
scm/codegen/.ocamlinit [new file with mode: 0644]
scm/codegen/codegenExprTest.ml

diff --git a/scm/codegen/.ocamlinit b/scm/codegen/.ocamlinit
new file mode 100644 (file)
index 0000000..72215ae
--- /dev/null
@@ -0,0 +1,15 @@
+#use "topfind";;
+#require "extlib";;
+#camlp4o;;
+
+#directory "../../base";;
+#directory "../../swflib";;
+#directory "../../camlp4";;
+#directory "../ast";;
+#load "base.cma";;
+#load "swflib.cma";;
+#load "ast.cma";;
+#load "pa_oo.cmo";;
+#load "pa_openin.cmo";;
+
+
index b09a9fb..334f0e8 100644 (file)
@@ -28,9 +28,8 @@ let register i =
   `BindVar (Node.ghost (Register i))
 
 let inner args inst =
-  let l = Label.peek 0 in
     {empty with
-       method_name  = qname [] @@ Label.to_string l;
+       method_name  = qname [] "";
        params       = args;
        code = inst@[`ReturnValue] }