Commit 8fa6fd92 authored by MARCHE Claude's avatar MARCHE Claude

Re-enabled the warning on used variables

This warning was disabled as soon as the python plugin is loaded
that was VERY BAD
parent 96f69b5e
...@@ -17,7 +17,12 @@ open Stdlib ...@@ -17,7 +17,12 @@ open Stdlib
let debug = Debug.register_flag "python" let debug = Debug.register_flag "python"
~desc:"mini-python plugin debug flag" ~desc:"mini-python plugin debug flag"
(* NO! this will be executed at plugin load, thus
disabling the warning for ALL WHY3 USERS even if they don't
use the python front-end
let () = Debug.set_flag Dterm.debug_ignore_unused_var let () = Debug.set_flag Dterm.debug_ignore_unused_var
*)
let mk_id ~loc name = let mk_id ~loc name =
{ id_str = name; id_lab = []; id_loc = loc } { id_str = name; id_lab = []; id_loc = loc }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment