diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-24 16:16:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-28 10:10:44 +0200 |
commit | 9c3e14bb61d6fb1da6ada3213e2c4d566ddd5e33 (patch) | |
tree | c4dcb4f2e9b4430e7a8e74cee08cb101dcfd27d6 /libbuild2/script/parser.cxx | |
parent | 726aaab07a785b904dd1265bffa603bdd2a7665b (diff) |
Add pattern_mode::ignore and use in appropriate places
Diffstat (limited to 'libbuild2/script/parser.cxx')
-rw-r--r-- | libbuild2/script/parser.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libbuild2/script/parser.cxx b/libbuild2/script/parser.cxx index 4c8a377..ebfd5fc 100644 --- a/libbuild2/script/parser.cxx +++ b/libbuild2/script/parser.cxx @@ -34,7 +34,7 @@ namespace build2 // return tt != type::newline && start_names (tt) ? parse_value (t, tt, - pattern_mode::preserve, + pattern_mode::ignore, "variable value", nullptr) : value (names ()); @@ -101,7 +101,7 @@ namespace build2 { parse_names (t, tt, ns, - pattern_mode::preserve, + pattern_mode::ignore, true /* chunk */, "command line", nullptr); @@ -1073,7 +1073,7 @@ namespace build2 else parse_names (t, tt, ns, - pattern_mode::preserve, + pattern_mode::ignore, true /* chunk */, "command line", nullptr); @@ -1319,7 +1319,7 @@ namespace build2 parse_names (t, tt, ns, - pattern_mode::preserve, + pattern_mode::ignore, true /* chunk */, "env builtin argument", nullptr); @@ -1473,7 +1473,7 @@ namespace build2 next (t, tt); location l (get_location (t)); names ns (parse_names (t, tt, - pattern_mode::preserve, + pattern_mode::ignore, true, "exit status", nullptr)); @@ -1669,7 +1669,7 @@ namespace build2 // names ns (tt != type::newline ? parse_names (t, tt, - pattern_mode::preserve, + pattern_mode::ignore, false, "here-document line", nullptr) |