Explorar o código

Fix Issue2130 (was generated: `f = tmplocal v1 = f;` while required `f = tmp local v1 = f;`)

peyty %!s(int64=9) %!d(string=hai) anos
pai
achega
bf5cd3bcb9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      genlua.ml

+ 1 - 1
genlua.ml

@@ -548,7 +548,7 @@ and gen_expr ?(local=true) ctx e = begin
 				| TBinop(OpAssign, e1, e2) ->
 				    gen_tbinop ctx OpAssign e1 e2;
 				    if local then
-					spr ctx "local ";
+					spr ctx " local ";
 				    spr ctx (ident v.v_name);
 				    spr ctx " = ";
 				    gen_value ctx e1;