Browse Source

Dont avoid semicolon insertion after static field gen.

Previously, class Main { static function main() {} } generated:

Main.main = function () {
}

instead of (now):

Main.main = function () {
};
Luca Deltodesco 12 years ago
parent
commit
8a1e0f976c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      genjs.ml

+ 0 - 1
genjs.ml

@@ -891,7 +891,6 @@ let gen_class_static_field ctx c f =
 			ctx.id_counter <- 0;
 			print ctx "%s = " path;
 			gen_value ctx e;
-			ctx.separator <- false;
 			newline ctx;
 			handle_expose ctx path f.cf_meta
 		| _ ->