Skip to content
Snippets Groups Projects
Commit 878eef87 authored by Valentin Perrelle's avatar Valentin Perrelle Committed by Thibault Martin
Browse files

[kernel] fixes and improvements

parent ed56e0e6
No related branches found
No related tags found
No related merge requests found
......@@ -255,12 +255,10 @@ module type Float = sig
include S with type t = float
val set_range: min:float -> max:float -> unit
(** Set what is the possible range of values for this parameter.
@since Beryllium-20090901 *)
(** Set what is the possible range of values for this parameter. *)
val get_range: unit -> float * float
(** What is the possible range of values for this parameter.
@since Beryllium-20090901 *)
(** What is the possible range of values for this parameter. *)
end
......
/* run.config*
PLUGIN: @EVA_PLUGINS@
MODULE: @PTEST_NAME@
OPT: -test-decimal-option 0.12 -test-deprecated-option 0.12
OPT: -autocomplete test
......
......@@ -25,8 +25,6 @@ module TestDecimalDefaultRange = Decimal (struct
let default = 0.0
end)
let run_test () =
let _range = TestDecimal.get_range () in
let _range = TestDecimalDefaultRange.get_range () in
......
[kernel] User Error: option `-test-decimal-option' requires a decimal number as argument.
use `frama-c -help' for more information.
[kernel] Frama-C aborted: invalid user input.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment