aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index e86212c..e3f9605 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -4296,6 +4296,10 @@ namespace build2
{
v += '.';
v += *e;
+
+ if (path_pattern (*e))
+ fail (l) << "extension pattern in '" << v << "' (" << what
+ << " extension patterns are not yet supported)";
}
try