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>
Mon, 20 Oct 2014 10:21:27 +0000 (12:21 +0200)
commit8aea7fef36ac86d1c722b1bd1dd622309ac5bc08
tree0f4848a82964aa32705359dfec6761c663fd0a6c
parentb4f963b48b84b944e18d00f2b69121302282f273
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