[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

indent



   From: Eric Norum <eric at skatter.USask.Ca>
   Date: Tue,  8 Sep 98 17:27:26 -0600

   I feel *really* queasy about letting a program like indent muck  
   around with my source files.  I just don't trust it to leave the  
   logic of the program intact.

In my experience GNU indent is quite reliable in that regard.  It's
not hard, after all: if you only change strings of whitespace (spaces,
tabs, and newlines) then you can't mess up the logic of a C program.
indent does also insert whitespace here and there, but only around
character with special syntactic meaning, such as ( and =.

The main problem I've had with GNU indent is that it sometimes
mishandles multi-line comments.

Ian