On Thu, Nov 15, 2012 at 06:01:50PM +0100, Pietro Braione wrote:
> Our current idea is to inject some kind of assignment statement to a fubar
> variable as, e.g., _next_statement_is_relevant = 1, right before every
> "relevant" statement. Can anyone suggest something better?

Some magic label on relevant statements?  (but you should be careful that CIL
does not erase it, and have a different label for every statement — not easy)

Otherwise, I'd use an Asm comment rather than a Set instruction for your
previous statement trick, but there is no real reason for it, just personal
taste.

The lost of comments and the inability to annotate parts of the AST in an
extensible way is definitely a weak point of CIL.

Best,
-- 
Gabriel

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to