Browse Source

Lua : Turn debugging back on

Justin Donaldson 10 năm trước cách đây
mục cha
commit
3ff415f63a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      genlua.ml

+ 2 - 1
genlua.ml

@@ -812,12 +812,13 @@ and gen__init__impl ctx e =
 			    newline ctx;
 			    gen_call ctx e el false
 			end;
-		    	    );
+			    );
 	| _ -> gen_block_element ctx e;
     end
 
 and gen_block_element ?(after=false) ctx e  =
     newline ctx;
+    spr ctx (debug_expression e);
     begin match e.eexpr with
 	| TTypeExpr _ -> ()
 	| TCast (ce,_) -> gen_block_element ctx ce