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.

-sergey



On Wed, Mar 16, 2016 at 3:07 AM, Krishna Narasimhan <krishna.nm86@xxxxxxxxx> wrote:
Hi
  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
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top