On Fri 25 Feb 2005 at 10:20:40 +0900, Garrett Rooney wrote: > Ian Macdonald wrote: > >Hello, > > > >I've just noticed that running C source files through a default > >configuration of GNU indent breaks the ability of rdoc to find classes > >and methods in them. > > > >The thing is, I can't figure out what the parser is running aground on? > > > >Has anyone run into this before? > > It's quite likely spaces between a function name and the following > parentheses, GNU style recommends that, so I imagine indent might > default to it, and I know it screws up rdoc. I cooked up the following > patch a while back to correct the issue, no idea if it applies to > current releases or not, I think it was against CVS HEAD at the time. If I'd actually waited for an answer to my question, I could have saved myself the work. :-) In other words, I've spent the last half an hour tracing the problem and constructing the exact same patch you just posted. Thanks very much. Ian -- Ian Macdonald | The biggest mistake you can make is to System Administrator | believe that you are working for someone ian / caliban.org | else. http://www.caliban.org | |