diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-07 15:01:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-07 15:01:26 +0200 |
commit | 1b0efce7791d4d61aa57038edb30fb823ed48e21 (patch) | |
tree | de0cae5f0afa238dc1cd1686baba07bab626bad2 /build2/cc/parser.cxx | |
parent | 8ceb809c28f663bb1473722de3c6a24319888e61 (diff) |
Work around issues in old compilers
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 6361c89..2a75597 100644 --- a/build2/cc/parser.cxx +++ b/build2/cc/parser.cxx @@ -21,7 +21,7 @@ namespace build2 lexer l (is, name); l_ = &l; - unit u {unit_type::non_modular, {}}; + unit u; u_ = &u; // If the source has errors then we want the compiler to issues the |