From f59c9133da7c927d3c11c87eb91eef636d15e1e6 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 6 Apr 2020 14:22:56 +0200 Subject: [PATCH] cgen: temporary headers fix --- vlib/v/gen/cgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index d7035318d3..57aa717af9 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -435,7 +435,7 @@ fn (g mut Gen) stmt(node ast.Stmt) { // #include etc typ := it.val.all_before(' ') if typ in ['include', 'define'] { - g.includes.writeln('#$it.val') + g.definitions.writeln('#$it.val') } } ast.Import {}