diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-10-17 15:01:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-10-26 13:29:24 +0200 |
commit | 4d34633cfbd3936cb4d20545b48a031ba011db4c (patch) | |
tree | 9ea6786ae920dfdf4e8622b7b630f34a21182d8e /libbuild2/target.ixx | |
parent | d3b4636ca3f4c3ad98c8096326c5b1460d05691d (diff) |
WIP: add match_extra data member and rule::rematch()
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r-- | libbuild2/target.ixx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx index f0d5cea..8873b7b 100644 --- a/libbuild2/target.ixx +++ b/libbuild2/target.ixx @@ -136,10 +136,13 @@ namespace build2 // match_extra // inline void match_extra:: - init (bool f) + reinit (bool f) { + //assert (locked); clear_data (); fallback = f; + cur_options = all_options; + new_options = 0; } inline void match_extra:: |