Explorar o código

Lua : remove default output message from lua errors

Justin Donaldson %!s(int64=10) %!d(string=hai) anos
pai
achega
1d91bd02cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      genlua.ml

+ 1 - 1
genlua.ml

@@ -508,7 +508,7 @@ and gen_expr ?(local=true) ctx e =
 	| TThrow e ->
 		spr ctx "error(";
 		gen_value ctx e;
-		spr ctx ")";
+		spr ctx ",0)";
 	| TVar (v,eo) ->
 		begin match eo with
 			| None ->