Added a newline at the end of the generated C++ files
This commit is contained in:
parent
ebef4aaedf
commit
80ffc87f94
|
@ -145,7 +145,9 @@ cppgenTopLevel s
|
||||||
genName name
|
genName name
|
||||||
tell ["("]
|
tell ["("]
|
||||||
infixComma $ map tlpChannel chans
|
infixComma $ map tlpChannel chans
|
||||||
tell [")) (new csp::common::ChannelPoisoner< csp::Chanout<",chanType,">/**/> (out.writer())) (new csp::common::ChannelPoisoner< csp::Chanout<",chanType,">/**/> (err.writer())) ) ); csp::End_CPPCSP(); return 0;}"]
|
tell [")) (new csp::common::ChannelPoisoner< csp::Chanout<"
|
||||||
|
,chanType,">/**/> (out.writer())) (new csp::common::ChannelPoisoner< csp::Chanout<"
|
||||||
|
,chanType,">/**/> (err.writer())) ) ); csp::End_CPPCSP(); return 0;}\n"]
|
||||||
where
|
where
|
||||||
tlpChannel :: (A.Direction,TLPChannel) -> CGen()
|
tlpChannel :: (A.Direction,TLPChannel) -> CGen()
|
||||||
tlpChannel (dir,c) = case dir of
|
tlpChannel (dir,c) = case dir of
|
||||||
|
|
Loading…
Reference in New Issue
Block a user