# HG changeset patch # User John W. Eaton # Date 1589823534 14400 # Node ID e10c25dd27f153ae76640e6aa203c2328f3d71bf # Parent 08229481b65f78f62fc52f06368e4b9e1ed61d82 fix printing of dynamic field names when printing parse tree * pt-pr-code.cc (tree_print_code::visit_index_expression): Print ".(" instead of "(" for dynamic field names. diff -r 08229481b65f -r e10c25dd27f1 libinterp/parse-tree/pt-pr-code.cc --- a/libinterp/parse-tree/pt-pr-code.cc Mon May 18 12:32:17 2020 -0400 +++ b/libinterp/parse-tree/pt-pr-code.cc Mon May 18 13:38:54 2020 -0400 @@ -543,7 +543,7 @@ if (df) { m_nesting.push ('('); - m_os << "("; + m_os << ".("; df->accept (*this); m_os << ")"; m_nesting.pop ();