aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-12 08:33:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-12 08:33:28 +0200
commitce177a4b12f2fef490683e53ccc9ee8f4d3e0bd6 (patch)
tree34aae6ca8abb182fdf20a59b6ab3a08ef1e1db55 /build2/cc/parser.cxx
parentb01fde82ba1e70af68ac78607daf421334f60cc7 (diff)
Add workaround for Clang module import during preprocessing
Diffstat (limited to 'build2/cc/parser.cxx')
-rw-r--r--build2/cc/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/parser.cxx b/build2/cc/parser.cxx
index 24de7ba..c3c1324 100644
--- a/build2/cc/parser.cxx
+++ b/build2/cc/parser.cxx
@@ -21,7 +21,7 @@ namespace build2
lexer l (is, name);
l_ = &l;
- translation_unit u;
+ translation_unit u {"", false, {}};
u_ = &u;
// If the source has errors then we want the compiler to issues the