Thanks for Indent 2.2.9
1: Suggested Option To Specify a Regex Which Will Be Ignored by Indent and Left As-Is Reason: I develop microprocessor code in C for embedded systems and the compiler I use supports binary constant declarations as well as hexadecimal declarations. The pattern 0b00010101 is equivalent to 0x15 but Indent mangles the 0b00010101 and similar text. I don't expect Indent to be able to handle non-standard C and, instead, would like to see an ignore regex option that I could use as shown below. For example, the ignore regex option for this pattern could look like -ign0b[01]+ where the text -ign specifies the ignore-regex option and any following white space is treated as a regex. In this case, if I am not mistaken, it specifies a string starting with the non-optional characters 0 and b followed by any number of 1s and 0s. 2: Bug? The blank line before comment option adds a blank line at line 1 if there is a comment block at the head of a file. Regards, John Johnson Relay Designer IPC Resistors Inc. <blocked::http://www.ipc-resistors.com/> 7615 Kimbel St. Unit 1 Mississauga, ON. L5S 1A8 PH. 905-673-1553 Cel. 416-319-5413 Fax 905-673-8472 _______________________________________________ bug-indent mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-indent
