Added a newline at the end of the generated C++ files

This commit is contained in:
Neil Brown 2008-03-21 18:47:09 +00:00
parent ebef4aaedf
commit 80ffc87f94

View File

@ -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