Re: [CIL users] Controlling the Indentation/Formatting of CIL output

2009-03-31 Thread Gabriel Kerneis
The following should of course be: > Cil.printerForMaincil := ref (new myCustomPrinter); Cil.printerForMaincil := new myCustomPrinter; Sorry, -- Gabriel Kerneis -- ___ CIL-user

Re: [CIL users] Controlling the Indentation/Formatting of CIL output

2009-03-30 Thread Ben Liblit
You might also find the standalone "indent" tool to be useful as a post-processing filter. It is absurdly configurable and may be the easiest route to something you like. -- ___

Re: [CIL users] Controlling the Indentation/Formatting of CIL output

2009-03-30 Thread Gabriel Kerneis
Hi, On Mon, Mar 30, 2009 at 05:54:36PM -0400, John Smith wrote: > The output file from CIL (the *.cil.c file) is not indented to my liking > (e.g., indented 2 spaces whereas I prefer 4 spaces, or not indented at all) > and makes it difficult to read. Can someone tell me how I can change this. > P

[CIL users] Controlling the Indentation/Formatting of CIL output

2009-03-30 Thread John Smith
Hi: The output file from CIL (the *.cil.c file) is not indented to my liking (e.g., indented 2 spaces whereas I prefer 4 spaces, or not indented at all) and makes it difficult to read. Can someone tell me how I can change this. Preferably there would be some options I can enable/disable, but I wo