From 9c3e14bb61d6fb1da6ada3213e2c4d566ddd5e33 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 May 2021 16:16:54 +0200 Subject: Add pattern_mode::ignore and use in appropriate places --- libbuild2/build/script/parser.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/build/script/parser.cxx') 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); -- cgit v1.1