Selaa lähdekoodia

Lua : "while" needs a newline

That's all.
Justin Donaldson 10 vuotta sitten
vanhempi
commit
af5eca3d60
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      genlua.ml

+ 1 - 0
genlua.ml

@@ -570,6 +570,7 @@ and gen_expr ctx e =
 		spr ctx " do ";
 		gen_expr ctx e;
 		handle_break();
+		newline ctx;
 		spr ctx "end ";
 	| TWhile (cond,e,Ast.DoWhile) ->
 		let handle_break = handle_break ctx e in