contrib/objcwrapper: add a new line at the end of the generated file
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 12 Aug 2015 20:20:08 +0000 (16:20 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 21 Aug 2015 19:05:26 +0000 (15:05 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/objcwrapper/src/objc_generator.nit

index 3ad10b8..89e8237 100644 (file)
@@ -84,7 +84,7 @@ class CodeGenerator
                        nit_method_generator(commented_method, file, init_with_alloc)
                        if commented_method != commented_methods.last then file.write("\n")
                end
-               file.write("\nend")
+               file.write "\nend\n"
        end
 
        fun new_nit_generator(classe: nullable ObjcClass, file: FileWriter, init_with_alloc: Bool) do