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>
Tue, 9 Sep 2014 00:05:50 +0000 (02:05 +0200)
commit172cf120f6e07474bcfcfd477307f84687b784df
tree70d9f6eff4b931a4e061d32e2d7a5841a7a3c9f7
parentb78dc07b166f17408d2be7507831ed3b8e8eee90
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