Re: [gimplefe] Patch for recognizing function declarations

2012-08-02 Thread Diego Novillo
On Tue, Jul 31, 2012 at 11:06 AM, Sandeep Soni wrote: > +/* The syntax of a function declaration is as follows: > + > + FUNCTION_DECL > + < > + function body > + > > + > + Here, each of the PARMS in itself is a parameter declaration similar to a > + variable declaration, TYPE is th

Re: [gimplefe] Patch for recognizing function declarations

2012-08-01 Thread Dodji Seketeli
Hello, Sandeep Soni a écrit: > Hi Diego, > > The following patch recognizes function declarations. I am now trying > to create a gimple sequence of all the statements within the function > body. > The chagelog is as follows: > > 2012-07-31 Sandeep Soni > > * parser.c (gl_token_starts_de

[gimplefe] Patch for recognizing function declarations

2012-07-31 Thread Sandeep Soni
Hi Diego, The following patch recognizes function declarations. I am now trying to create a gimple sequence of all the statements within the function body. The chagelog is as follows: 2012-07-31 Sandeep Soni * parser.c (gl_token_starts_decl): Modify. Matches function decls. (g