diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-02 15:18:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-02 15:18:25 +0200 |
commit | 083743602a998c7618f65fc214bdbc1ed1915e55 (patch) | |
tree | ec8a3441ad232e31591a8b3ec6ecbe459b495b9c /build2/cc/compile.cxx | |
parent | d5ad01a48ac4c7c69995a58a3c198630df904419 (diff) |
Change cc.preprocessed to {c,cxx}.preprocessed
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r-- | build2/cc/compile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 9f36e8b..1db827d 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -802,14 +802,14 @@ namespace build2 // This determines which of the following steps we perform and on // what source (original or preprocessed). // - if (const string* v = cast_null<string> (t[c_preprocessed])) + if (const string* v = cast_null<string> (t[x_preprocessed])) try { md.pp = to_preprocessed (*v); } catch (const invalid_argument& e) { - fail << "invalid " << c_preprocessed.name << " variable value " + fail << "invalid " << x_preprocessed.name << " variable value " << "for target " << t << ": " << e; } |