From 12be0ad2ae2e1df18df00f4c93617076d31f45a5 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 21 Apr 2011 13:25:19 +0200 Subject: add comment to beginning of autogenerated files --- spice_codegen.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spice_codegen.py') diff --git a/spice_codegen.py b/spice_codegen.py index 4dad06c..05b47f6 100755 --- a/spice_codegen.py +++ b/spice_codegen.py @@ -142,6 +142,8 @@ writer.set_option("source", os.path.basename(proto_file)) writer.public_prefix = options.prefix +writer.writeln("/* this is a file autogenerated by spice_codegen.py */") +writer.header.writeln("/* this is a file autogenerated by spice_codegen.py */") writer.writeln("#ifdef HAVE_CONFIG_H") writer.writeln("#include ") writer.writeln("#endif") -- cgit