diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2025-02-03 07:11:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2025-02-03 07:11:56 +0200 |
commit | 4242f5ddeee005ef944f72ac313887b6221a31a1 (patch) | |
tree | 4c6c8b77777762016f741b7a6ccc5e6a761001e2 /libbuild2/script/parser.cxx | |
parent | 43eb1e43b6b22a0343104387431db7f32a88b16c (diff) |
Optimize copying of replay tokens
Diffstat (limited to 'libbuild2/script/parser.cxx')
-rw-r--r-- | libbuild2/script/parser.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/script/parser.cxx b/libbuild2/script/parser.cxx index 96b454f..30c7ff6 100644 --- a/libbuild2/script/parser.cxx +++ b/libbuild2/script/parser.cxx @@ -2218,7 +2218,7 @@ namespace build2 // Copy the tokens and start playing. // - replay_data (replay_tokens (ln.tokens)); + replay_data (ln.tokens); // We don't really need to change the mode since we already know // the line type. @@ -2433,7 +2433,7 @@ namespace build2 // Prepare for the condition reevaluation. // - replay_data (replay_tokens (ln.tokens)); + replay_data (ln.tokens); next (t, tt); li = wli; } |