2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00

Fix missing subscript operator on new @() evals.

This commit is contained in:
René Ferdinand Rivera Morell
2020-12-14 08:19:59 -06:00
parent 03ef46ec4d
commit 1e658bae2b

View File

@@ -1724,6 +1724,10 @@ static std::string var_parse_to_string( VAR_PARSE_VAR const * parse, bool debug
{
std::string result = "$(";
result += var_parse_to_string( parse->name, debug );
if ( parse->subscript )
{
result += "[" + var_parse_to_string( parse->subscript, debug ) + "]";
}
for ( int32_t i = 0; i < parse->modifiers->size; ++i )
{
result += ":" + var_parse_to_string( dynamic_array_at( VAR_PARSE_GROUP *, parse->modifiers, i ), debug );