diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-12-30 23:34:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2025-01-08 10:45:17 +0200 |
commit | 2a8a33a10755678fdf3d27267615a1eb576175e7 (patch) | |
tree | d06e8559b27e9a0b01fab7d15b667ddd7d2b7d72 /libbuild2/test/script/parser+pre-parse.test.testscript | |
parent | ad89f756290c08342574b9eb4b7037fd2cda3eb9 (diff) |
Fix parser::parse_names() failure on pattern inclusion groups corner cases
Specifically, fix the function for the case when the pattern inclusion group
is specified first in the pattern group with a directory. For example, before
the fix, parsing the following buildfile:
fs = hello
exe{hello}: foo/{hxx ixx txx cxx}{+{$fs}}
Would fail with the following error:
invalid 'foo/hello' in name pattern
Diffstat (limited to 'libbuild2/test/script/parser+pre-parse.test.testscript')
0 files changed, 0 insertions, 0 deletions