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, 3 Nov 2014 10:23:23 +0000 (11:23 +0100)
commit408feddde339dab962e84d637a18658c0bea112d
tree0f4848a82964aa32705359dfec6761c663fd0a6c
parentc9b1523b23af52087a6354730f86b8d19fa3c7c0
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