Re: How to parse a code snippet at front-end plugin

2010-09-13 Thread Thinker K.F. Li
From: Basile Starynkevitch Subject: Re: How to parse a code snippet at front-end plugin Date: Sun, 12 Sep 2010 08:35:48 +0200 > On Sat, 11 Sep 2010 22:19:06 +0800 (CST) > "Thinker K.F. Li" wrote: > >> Hi, >> >> I am try to make a plugin to analyze GIMPLE

How to parse a code snippet at front-end plugin

2010-09-11 Thread Thinker K.F. Li
Hi, I am try to make a plugin to analyze GIMPLE before genericize. It will insert some code defined by user into the tree. I want the user to specify the inserted code in C. For example, -- { static int i=0; printf("Hello %d\n",