Skip to content
Snippets Groups Projects
Commit 46d8abb1 authored by chrg's avatar chrg
Browse files

Make the check the right way around

parent 9ec0f353
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ reduceCTranslUnit (C.CTranslUnit es ni) ctx = do
if funIsStatic fun
then do
let fstr = C.identToString (funName fun)
isStatic <- check ("remove static from " <> fstr, funPosition fun)
isStatic <- not <$> check ("remove static from " <> fstr, funPosition fun)
pure fun{funIsStatic = isStatic}
else pure fun
else pure _functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment