@@ -244,9 +244,9 @@ let extractOctagonVars = function
244244 | BinOp (PlusA , e1,e2, (TInt _))
245245 | BinOp (MinusA, e1 ,e2 , (TInt _ )) -> (
246246 match extractVar e1, extractVar e2 with
247- | Some a , Some b -> Some (Either. Left (a,b))
247+ | Some a , Some b -> Some (` Left (a,b))
248248 | Some a, None
249- | None , Some a -> if isConstant e1 then Some (Either. Right a) else None
249+ | None , Some a -> if isConstant e1 then Some (` Right a) else None
250250 | _ ,_ -> None
251251 )
252252 | _ -> None
@@ -259,10 +259,10 @@ let addOrCreateVarMapping varMap key v globals = if key.vglob = globals then var
259259 VariableMap. add key v ! varMap
260260
261261let handle varMap v globals = function
262- | Some (Either. Left (a ,b )) ->
262+ | Some (` Left (a ,b )) ->
263263 addOrCreateVarMapping varMap a v globals;
264264 addOrCreateVarMapping varMap b v globals;
265- | Some (Either. Right a ) -> addOrCreateVarMapping varMap a v globals;
265+ | Some (` Right a ) -> addOrCreateVarMapping varMap a v globals;
266266 | None -> ()
267267
268268class octagonVariableVisitor (varMap , globals ) = object
@@ -275,7 +275,7 @@ class octagonVariableVisitor(varMap, globals) = object
275275 handle varMap 5 globals (extractOctagonVars e2) ;
276276 DoChildren
277277 )
278- | Lval ((Var info ),_ ) -> handle varMap 1 globals (Some (Either. Right info)) ; SkipChildren
278+ | Lval ((Var info ),_ ) -> handle varMap 1 globals (Some (` Right info)) ; SkipChildren
279279 (* Traverse down only operations fitting for linear equations*)
280280 | UnOp (Neg , _,_)
281281 | BinOp (PlusA ,_,_,_)
0 commit comments