Dan Korostelev 7 years ago
parent
commit
9bbffe5e37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/macro/ExampleJSGenerator.hx

+ 1 - 1
std/haxe/macro/ExampleJSGenerator.hx

@@ -170,7 +170,7 @@ class ExampleJSGenerator {
 		genPackage(e.pack);
 		var p = getPath(e);
 		var constructs = e.names.map(api.quoteString).join(",");
-		print('$p = $$hxClasses[\'$p\'] = { __ename__ : '$p', __constructs__ : [$constructs] }');
+		print('$p = $$hxClasses[\'$p\'] = { __ename__ : \'$p\', __constructs__ : [$constructs] }');
 		newline();
 		for( c in e.constructs.keys() ) {
 			var c = e.constructs.get(c);