From c2b4305349ca855c497904282db354de56c74842 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Aug 2018 14:59:07 +0200 Subject: Add support for default extension specification, trailing dot escaping For example: cxx{*}: extension = cxx cxx{foo} # foo.cxx cxx{foo.test} # foo.test (probably what we want...) cxx{foo.test...} # foo.test.cxx (... is this) cxx{foo..} # foo. cxx{foo....} # foo.. cxx{foo.....} # error (must come in escape pair) --- build2/config/operation.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/config') diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx index f9e9253..accae17 100644 --- a/build2/config/operation.cxx +++ b/build2/config/operation.cxx @@ -931,8 +931,8 @@ namespace build2 { const name& tn (ts.name); - // Figure out the project directory. This code must be consistent - // with find_target_type() and other places. + // Figure out the project directory. This logic must be consistent + // with find_target_type() and other places (grep for ".."). // dir_path d; -- cgit v1.1