aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-24 16:16:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-28 10:10:44 +0200
commit9c3e14bb61d6fb1da6ada3213e2c4d566ddd5e33 (patch)
treec4dcb4f2e9b4430e7a8e74cee08cb101dcfd27d6 /libbuild2/build/script
parent726aaab07a785b904dd1265bffa603bdd2a7665b (diff)
Add pattern_mode::ignore and use in appropriate places
Diffstat (limited to 'libbuild2/build/script')
-rw-r--r--libbuild2/build/script/parser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/build/script/parser.cxx b/libbuild2/build/script/parser.cxx
index 8b8aa38..372c622 100644
--- a/libbuild2/build/script/parser.cxx
+++ b/libbuild2/build/script/parser.cxx
@@ -445,7 +445,7 @@ namespace build2
// be printed, thus we parse it in the value lexer mode.
//
mode (lexer_mode::value);
- parse_names (t, tt, pattern_mode::preserve);
+ parse_names (t, tt, pattern_mode::ignore);
return nullopt;
}
else if (v == "depdb")
@@ -567,7 +567,7 @@ namespace build2
// Parse the rest of the line and bail out.
//
- parse_names (t, tt, pattern_mode::preserve);
+ parse_names (t, tt, pattern_mode::ignore);
return nullopt;
}
}
@@ -627,7 +627,7 @@ namespace build2
pr = parse_names (t, tt,
ns,
- pattern_mode::preserve,
+ pattern_mode::ignore,
true /* chunk */,
"command line",
nullptr);