diff options
author | Chimrod <> | 2024-02-03 17:42:16 +0100 |
---|---|---|
committer | Chimrod <> | 2024-02-08 14:16:41 +0100 |
commit | d7a13b0e5d6e746993e67a291376bd79766e0ed1 (patch) | |
tree | 80c621cbdb97ce69fd666a4e8f90f4952d237027 /lib/syntax/S.ml | |
parent | 6fd720c07e3e361932e01bfbdbe4637c8f610649 (diff) |
Added a new check to ensure that every call to another location points to an existing one
Diffstat (limited to 'lib/syntax/S.ml')
-rw-r--r-- | lib/syntax/S.ml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/syntax/S.ml b/lib/syntax/S.ml index 583249e..e691b38 100644 --- a/lib/syntax/S.ml +++ b/lib/syntax/S.ml @@ -113,6 +113,8 @@ module type Analyzer = sig val active : bool ref (** Is the test active or not *) + val is_global : bool + type context (** Context used to keep information during the whole test *) @@ -120,10 +122,12 @@ module type Analyzer = sig (** Initialize the context before starting to parse the content *) module Expression : Expression - module Instruction : Instruction with type expression = Expression.t' + module Instruction : Instruction with type expression := Expression.t' module Location : - Location with type instruction = Instruction.t' and type context := context + Location with type instruction := Instruction.t' and type context := context + + val finalize : context -> (string * Report.t) list end (** Helper module used in order to convert elements from the differents |