Skip to content
Snippets Groups Projects
Commit fa22b47c authored by sof's avatar sof
Browse files

[project @ 2001-07-11 22:47:32 by sof]

Append final newline to _stub.{c,h} output
parent 17629712
No related merge requests found
...@@ -220,7 +220,7 @@ outputForeignStubs dflags c_code h_code ...@@ -220,7 +220,7 @@ outputForeignStubs dflags c_code h_code
-- turn out to be empty, in which case no file should be created. -- turn out to be empty, in which case no file should be created.
outputForeignStubs_help fname "" injects = return False outputForeignStubs_help fname "" injects = return False
outputForeignStubs_help fname doc_str injects outputForeignStubs_help fname doc_str injects
= do writeFile fname (injects ++ doc_str) = do writeFile fname (injects ++ doc_str ++ "\n")
return True return True
\end{code} \end{code}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment