Include begin.h and end.h in the generated headers.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 9 Jun 2011 12:53:06 +0000 (14:53 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 9 Jun 2011 12:54:07 +0000 (14:54 +0200)
scripts/gen_ir.py

index 4f2a2d9..b982d69 100755 (executable)
@@ -484,6 +484,8 @@ nodeops_h_template = env.from_string(
 
 #include "firm_types.h"
 
+#include "begin.h"
+
 /**
  * @addtogroup ir_node
  * @{
@@ -585,6 +587,8 @@ FIRM_API void set_{{node.name}}_{{attr.name}}(ir_node *node, {{attr.type}} {{att
 
 /** @} */
 
+#include "end.h"
+
 #endif
 
 ''')