Browse Source

[lua] get rid of errant semicolon, fixes lua-5.1

Justin Donaldson 9 years ago
parent
commit
0a8c860920
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/generators/genlua.ml

+ 1 - 1
src/generators/genlua.ml

@@ -922,7 +922,7 @@ and gen_expr ?(local=true) ctx e = begin
 		end;
 		end;
 		bend();
 		bend();
 		newline ctx;
 		newline ctx;
-		println ctx " elseif _hx_result ~= _hx_expected_result then return _hx_result end;";
+		print ctx " elseif _hx_result ~= _hx_expected_result then return _hx_result end";
 	| TSwitch (e,cases,def) ->
 	| TSwitch (e,cases,def) ->
 		List.iteri (fun cnt (el,e2) ->
 		List.iteri (fun cnt (el,e2) ->
 		    if cnt == 0 then spr ctx "if "
 		    if cnt == 0 then spr ctx "if "