summaryrefslogtreecommitdiff
path: root/src/LlbcAst.ml
diff options
context:
space:
mode:
authorSidney Congard2022-06-08 12:32:14 +0200
committerSidney Congard2022-06-08 12:32:14 +0200
commitba61ed50e7b2fdc78690de92d734a3747029f903 (patch)
treed038735ea4a263f80e1752661c1c707d21810f28 /src/LlbcAst.ml
parent1b3f5a15aaabf5810f07797550d1a19a55b6be3c (diff)
read globals from LLBC JSON into functions
Diffstat (limited to '')
-rw-r--r--src/LlbcAst.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/LlbcAst.ml b/src/LlbcAst.ml
index d35cd5d8..4324586d 100644
--- a/src/LlbcAst.ml
+++ b/src/LlbcAst.ml
@@ -1,10 +1,8 @@
-open Identifiers
open Names
open Types
open Values
open Expressions
-
-module FunDeclId = IdGen ()
+open FunIdentifier
type var = {
index : VarId.id; (** Unique variable identifier *)
@@ -178,5 +176,6 @@ type fun_decl = {
name : fun_name;
signature : fun_sig;
body : fun_body option;
+ is_global : bool;
}
[@@deriving show]