diff --git a/common/FlowGraph.hs b/common/FlowGraph.hs index 4256cf3..8c65b06 100644 --- a/common/FlowGraph.hs +++ b/common/FlowGraph.hs @@ -214,7 +214,8 @@ buildFlowGraph funcs s addDummyNode m = addNode' m labelDummy m AlterNothing getNextParEdgeId :: GraphMaker mLabel mAlter label Int - getNextParEdgeId = do (_,pi,_,_) <- get + getNextParEdgeId = do (a, pi, b, c) <- get + put (a, pi + 1, b, c) return pi addParEdges :: Int -> (Node,Node) -> [(Node,Node)] -> GraphMaker mLabel mAlter label ()