diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-30 12:44:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:41 +0200 |
commit | 1f543f6eb368c3b23aa1f9cd2d23f0dba1456dec (patch) | |
tree | a3c1b756c2cc27fac0ac392ce8d108e147b23840 /build2/parser.cxx | |
parent | b262d2c9c56eed18d043dccefac02b54a6ae2f95 (diff) |
Add notion of load phase generation
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx index fe12b98..af6a6f5 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -1593,7 +1593,7 @@ namespace build2 if (type != nullptr) { if (var.type == nullptr) - var.type = type; + var_pool.update (const_cast<variable&> (var), type); else if (var.type != type) fail (l) << "changing variable " << var << " type from " << var.type->name << " to " << type->name; |