Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Reflecting Intermediate changes to ast

To have nested rewrites you need to apply the outer rewrite first and then nested rewrites should be applied to the outer rewrite.


On Wed, Mar 16, 2016 at 3:07 AM, Krishna Narasimhan <krishna.nm86@xxxxxxxxx> wrote:
  I am using an ast rewrite, which replaces node inside a for statement, before a rule which replaces the "new for statement" with another.

The problem is, the first rewrites inside the body of the for statement arent reflected. Basically its the old for statement which is rewritten. I assume this has something to do with saving the state of astrewrite before continuing.

cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top