diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-12 08:33:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-12 08:33:28 +0200 |
commit | ce177a4b12f2fef490683e53ccc9ee8f4d3e0bd6 (patch) | |
tree | 34aae6ca8abb182fdf20a59b6ab3a08ef1e1db55 /build2/cc/parser.cxx | |
parent | b01fde82ba1e70af68ac78607daf421334f60cc7 (diff) |
Add workaround for Clang module import during preprocessing
Diffstat (limited to 'build2/cc/parser.cxx')
-rw-r--r-- | build2/cc/parser.cxx | 2 |
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 |