nits: corrects the #endif position to the bottom of the generated header
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 6 Jun 2012 03:58:23 +0000 (23:58 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 7 Jun 2012 22:01:57 +0000 (18:01 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/nits.nit

index d2c0742..13258ab 100644 (file)
@@ -106,7 +106,7 @@ redef class MMModule
                end
 
                # header file guard close
-               v.header_head.add( "#endif\n" )
+               v.header_decl.add( "\n#endif\n" )
        end
 end