OSDN Git Service
(root)
/
happyabc
/
happyabc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3d922
)
fix: compile failed
author
mzp
<mzpppp@gmail.com>
Sun, 13 Sep 2009 23:54:11 +0000
(08:54 +0900)
committer
mzp
<mzpppp@gmail.com>
Sun, 13 Sep 2009 23:54:11 +0000
(08:54 +0900)
swflib/gen_typemap.ml
patch
|
blob
|
history
diff --git
a/swflib/gen_typemap.ml
b/swflib/gen_typemap.ml
index
427c9c5
..
4ecd78e
100644
(file)
--- a/
swflib/gen_typemap.ml
+++ b/
swflib/gen_typemap.ml
@@
-32,7
+32,7
@@
let cpool name ~high ~entry =
regist name ~low:"int" ~high
~funs:[
"byte" => "u30";
- "const" => sprintf "fun x -> Some (
%s x
)" entry;
+ "const" => sprintf "fun x -> Some (
(%s x) :> Cpool.entry
)" entry;
"arg" => sprintf "fun ctx x -> Cpool.index ctx#cpool (%s x)" entry;
"class" => none;
"method"=> none;