parens around consts when taking attr again

This commit is contained in:
rocky
2020-01-16 22:15:28 -05:00
parent 549c33113b
commit 6d368d2b30
6 changed files with 26 additions and 0 deletions

View File

@@ -268,6 +268,10 @@ TABLE_DIRECT = {
'attribute_w_parens': ( '(%c).%[1]{pattr}',
(0, 'expr')),
# This nonterminal we create on the fly in semantic routines
'store_w_parens': ( '(%c).%[1]{pattr}',
(0, 'expr')),
'unpack_list': ( '[%C]',
(1, maxint, ', ') ),
'build_tuple2': ( '%P',