[ https://issues.apache.org/jira/browse/LUCY-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marvin Humphrey updated LUCY-141: --------------------------------- Attachment: run_astyle.pl This run_astyle.pl script works around a couple bugs and quirks in astyle: it handles the Charmonizer QUOTE macro correctly, and it avoids spurious indentation due to 'extern "C" {' C++ guards in header files. > Auto-format C code using astyle > ------------------------------- > > Key: LUCY-141 > URL: https://issues.apache.org/jira/browse/LUCY-141 > Project: Lucy > Issue Type: Improvement > Reporter: Marvin Humphrey > Assignee: Marvin Humphrey > Priority: Minor > Fix For: 0.1-incubating > > Attachments: 0003-Remove-trailing-whitespace-from-C-code.patch, 0004-Adapt-preprocessor-macros-for-pre-ANSI-style.patch, 0005-Attach-opening-brackets-for-functions-to-end-of-the-.patch, 0006-Break-function-body-opening-lines-when-they-exceed-7.patch, 0007-Break-after-operator-because-astyle-does-not-indent-.patch, astylerc, run_astyle.pl > > > We should consider using the automatic code formatter astyle for > our C code. > Dev list thread: http://s.apache.org/INC -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira