src/astbuilder: Add new nodes makers
[nit.git] / contrib / refund / src / refund_json.nit
index 130ad2a..f670f9d 100644 (file)
@@ -19,6 +19,7 @@ module refund_json
 
 import refund_base
 import json::static
+import json
 
 redef class RefundProcessor
 
@@ -89,6 +90,7 @@ redef class RefundProcessor
        fun write_output(str: String, file: String) do
                var ofs = new FileWriter.open(file)
                ofs.write(str)
+               ofs.write("\n")
                ofs.close
        end