]> git.unchartedbackwaters.co.uk Git - francis/ofc.git/commitdiff
Add comment to where 'use' statements will go.
authorFrancis Russell <francis@unchartedbackwaters.co.uk>
Sun, 20 May 2012 19:22:11 +0000 (20:22 +0100)
committerFrancis Russell <francis@unchartedbackwaters.co.uk>
Sun, 20 May 2012 19:22:11 +0000 (20:22 +0100)
src/ofc/codegen/FortranGenerator.scala

index 25b04b35220494c344be6cd8a3c7b1a10a8bbbf6..09dad7536af926877f3f7d8e711e680ae4bcc2be 100644 (file)
@@ -145,9 +145,11 @@ class FortranGenerator {
   def apply(func: Function[_ <: Type]) : String = {
     in
     processStatement(func.getBlock)
-    prependLine("\n")
+    prependLine("")
     prependLines(symbolManager.getDeclarations)
     prependLine("implicit none")
+    prependLine("")
+    prependLine("!use statments will go here")
     out
 
     // parameters are only named *after* processing the body