File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Language/Preprocessor/Cpphs Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ macroProcess pr layout lang st (Ident p x: ws) =
167167 Just (args,ws') ->
168168 if length args /= length (arguments hd) then
169169 emit x $ macroProcess pr layout lang st ws
170- else do args' <- mapM (fmap (concat . onlyRights)
170+ else do args' <- mapM (fmap (concat . onlyRights)
171171 . macroProcess pr layout
172172 lang st)
173173 args
Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ flattenST :: SymTab v -> [v]
3636
3737emptyST = itgen maxHash []
3838insertST (s,v) ss = itiap (hash s) ((s,v): ) ss id
39- deleteST s ss = itiap (hash s) (filter ((/= s). fst )) ss id
40- lookupST s ss = let vs = filter ((== s). fst ) ((itind (hash s)) ss)
39+ deleteST s ss = itiap (hash s) (filter ((/= s) . fst )) ss id
40+ lookupST s ss = let vs = filter ((== s) . fst ) ((itind (hash s)) ss)
4141 in if null vs then Nothing
4242 else (Just . snd . head ) vs
43- definedST s ss = let vs = filter ((== s). fst ) ((itind (hash s)) ss)
43+ definedST s ss = let vs = filter ((== s) . fst ) ((itind (hash s)) ss)
4444 in (not . null ) vs
4545flattenST ss = itfold (map snd ) (++) ss
4646
You can’t perform that action at this time.
0 commit comments