[orbitcpp-list] Re: cpp: Gratuitous code formatting change
Status: Beta
Brought to you by:
philipd
From: Sam C. <sc...@bi...> - 2002-03-02 01:00:35
|
Chris Waters <xt...@de...> wrote: > From the info file: >=20 > "While an attempt was made to get `indent' working for C++, it will > not do a good job on any C++ source except the very simple." >=20 > That's not the (quite) same as not working. I actually ran indent on > the example Murray provided, and the result looked fine. I've also > used indent on other C++ code in the past and been perfectly satisfied > with the results. Maybe we should try out some more complex > real-world examples, and see if it's good enough for our purposes. I figured that the stubs and skeletons generated by orbit-idl were far from simple, and that indent would not be helpful. And yesterday, out of curiosity (and a desire to be able to actually read the code I was looking at) I ran indent on some of the generated code. Nasty, total failure. I'm confident that indent does not solve any formatting problems for the generated C++ code. --=20 Sam "Eddie" Couter | mailto:sc...@bi... Debian Developer | mailto:ed...@de... | jabber:sa...@ja... OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |