aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/parser.cxx
diff options
context:
space:
mode:
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 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