summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-07 13:07:52 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-07 13:07:52 +0000
commit93b3726240ed50aa162d47519d38b1713f93298a (patch)
tree73273f657e16df18797b46242319c554782faa1c /docs/reference
parent67f40fb237d5c2fa5a8b9604e76a99716492a44a (diff)
py/parse: Optimise away parse node that's just parenthesis around expr.
Before this patch, (x+y)*z would be parsed to a tree that contained a redundant identity parse node corresponding to the parenthesis. With this patch such nodes are optimised away, which reduces memory requirements for expressions with parenthesis, and simplifies the compiler because it doesn't need to handle this identity case. A parenthesis parse node is still needed for tuples.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions