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:
parent
b280158e26
commit
135a4d6bfd
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue
Block a user