Browse Source

fix inline static in extern

Nicolas Cannasse 17 years ago
parent
commit
b755570d72
2 changed files with 2 additions and 0 deletions
  1. 1 0
      doc/CHANGES.txt
  2. 1 0
      genswf9.ml

+ 1 - 0
doc/CHANGES.txt

@@ -1,5 +1,6 @@
 2009-??-??: 2.03
 	optimized Type.enumEq : use index instead of tag comparison for neko/flash9/php
+	bugfix for flash.display.BitmapDataChannel and GraphicsPathCommand (allow inline static)
 
 2008-11-23: 2.02
 	Std.is(MyInterface, Class) now returns true (haXe/PHP)

+ 1 - 0
genswf9.ml

@@ -1909,6 +1909,7 @@ let generate_inits ctx types =
 	) types;
 	List.iter (fun (t,_) ->
 		match t with
+		| TClassDecl { cl_extern = true; cl_path = "flash" :: _ , _ } -> ()
 		| TClassDecl c -> generate_class_statics ctx c
 		| _ -> ()
 	) types;