Rain: corrected a comment in RainPasses
This commit is contained in:
parent
4221b0d698
commit
9ffb5b5931
|
@ -148,7 +148,7 @@ findMain x = do newMainName <- makeNonce "main_"
|
||||||
Nothing -> m
|
Nothing -> m
|
||||||
Just nd -> ((Map.insert n (nd {A.ndName = n})) . (Map.delete "main")) m
|
Just nd -> ((Map.insert n (nd {A.ndName = n})) . (Map.delete "main")) m
|
||||||
|
|
||||||
-- | A pass that finds all the 'A.ProcCall' in the AST, and checks that the actual parameters are valid inputs, given the 'A.Formal' parameters in the process's type
|
-- | A pass that finds all the 'A.ProcCall' and 'A.FunctionCall' in the AST, and checks that the actual parameters are valid inputs, given the 'A.Formal' parameters in the process's type
|
||||||
matchParamPass :: Data t => t -> PassM t
|
matchParamPass :: Data t => t -> PassM t
|
||||||
matchParamPass = everywhereM ((mkM matchParamPassProc) `extM` matchParamPassFunc)
|
matchParamPass = everywhereM ((mkM matchParamPassProc) `extM` matchParamPassFunc)
|
||||||
where
|
where
|
||||||
|
|
Loading…
Reference in New Issue
Block a user