smith@nsfnet-relay.ac.uk (Mark Smith) (03/20/90)
Does anyone know of a source code formatter like indent for C++? Public domain or commercial will do.
sxm@philabs.philips.com (Sandeep Mehta) (03/21/90)
In article <5928@brazos.Rice.edu>, canon!smith@nsfnet-relay (Mark Smith) writes: >Does anyone know of a source code formatter like indent for C++? Public >domain or commercial will do. tgrind/vgrind will work decently with a reasonable vgrindefs cap entry. mine, and this was put together from contrib off the net, follows: C++|c++|g++|cplus:\ :ab=/*:ae=*/:bb={:be=}:cb=//:ce=$:lb=':le=\e':\ :pb=^*?(\a?\:\:)?\p\d?\(\a?\)(\d|{):\ :sb=":se=\e":tl:\ :kw=\ asm auto break case char class const continue \ default define delete do double else else endif enum \ extern float for friend goto if if ifdef \ ifndef include inline int long new operator \ overload public private register return short sizeof static struct \ switch this typedef undef union unsigned virtual void \ while : sxm@philabs.philips.com ...to be or not to bop ?