Browse Source

[cs] some more whitespace beauty

Dan Korostelev 11 years ago
parent
commit
50b3a797d2
2 changed files with 2 additions and 1 deletions
  1. 1 0
      gencs.ml
  2. 1 1
      std/cs/internal/Exceptions.hx

+ 1 - 0
gencs.ml

@@ -1863,6 +1863,7 @@ let configure gen =
 													write w ": ";
 													let t = Common.timer "expression to string" in
 													expr_s w sc;
+													write w " ";
 													t()
 											);
 											begin_block w;

+ 1 - 1
std/cs/internal/Exceptions.hx

@@ -30,7 +30,7 @@ import cs.system.Exception;
 }
 
 //should NOT be usable inside haxe code
-@:classCode('override public string Message{ get{ return this.toString(); } }')
+@:classCode('override public string Message { get { return this.toString(); } }\n\n')
 @:nativeGen @:keep @:native("haxe.lang.HaxeException") private class HaxeException extends Exception
 {
 	private var obj:Dynamic;