jump over syscall
This commit is contained in:
parent
1585965801
commit
77e7213249
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,8 @@ invAcc a i ('[':t) = invAcc a (i+1 + g) (drop g t) -- TODO check reads in f
|
||||||
-- if it is found set its boolean value to true
|
-- if it is found set its boolean value to true
|
||||||
-- if it is not found add its slice to the result
|
-- if it is not found add its slice to the result
|
||||||
-- all variables with false at the end of a block are unused
|
-- all variables with false at the end of a block are unused
|
||||||
|
invAcc a i ('.':t) = invAcc a (i+1 + g) (drop g t)
|
||||||
|
where g = fromJust (elemIndex ';' t)
|
||||||
invAcc a i s@(c:t) = let writeAcc = getWrite i s
|
invAcc a i s@(c:t) = let writeAcc = getWrite i s
|
||||||
matchLen = (length $ (\(v,_,_) -> v) (fromJust writeAcc))
|
matchLen = (length $ (\(v,_,_) -> v) (fromJust writeAcc))
|
||||||
readAcc = getRead i s
|
readAcc = getRead i s
|
||||||
|
|
Loading…
Reference in a new issue