Added a helper function for marking when a test is a Rain test (which means any test output will be displayed as Rain code, not as occam code)

This commit is contained in:
Neil Brown 2007-09-19 11:08:25 +00:00
parent b280158e26
commit 135a4d6bfd

View File

@ -382,3 +382,6 @@ simpleDefDecl n t = simpleDef n (A.Declaration m t)
-- | A pattern that will match simpleDef, with a different abbreviation mode
simpleDefPattern :: String -> A.AbbrevMode -> Pattern -> Pattern
simpleDefPattern n am sp = tag7 A.NameDef DontCare n n A.VariableName sp am A.Unplaced
markRainTest :: State CompState ()
markRainTest = modify (\cs -> cs { csFrontend = FrontendRain })