xcbgen: new expr-type listelement-ref
authorChristian Linhart <chris@demorecorder.com>
Thu, 4 Sep 2014 15:48:56 +0000 (17:48 +0200)
committerChristian Linhart <chris@demorecorder.com>
Sat, 6 Sep 2014 13:39:19 +0000 (15:39 +0200)
commit0817b43e0ac0cdbf6bac9224b33eb9ced20855ab
treea5e66f6c94ec7b9b822dfa496036962d3a860a09
parente6945986bee79b2a4816d13c85491100dc2c3ab7
xcbgen: new expr-type listelement-ref

Add parser-support for the new expression-type "listelement-ref"
which represents the current list-element when used inside
a list-iteration expression such as <sumof>.

This patch includes computation of the flag "contains_listelement_ref"
which is set to True when an expression or any of its
subexpressions is a listelement-ref.
(This is needed by the generator)

Message-ID: <1409845742-38797-2-git-send-email-chris@demorecorder.com>
Patch-Thread-Subject: [Xcb] support popcount of a list and associated xml changes
Patch-Set: PopcountList
Patch-Number: proto 2/8
Patch-Version: V1
Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
xcbgen/expr.py