Re: [DOC++] comments on same line following respective statements
Brought to you by:
adragos
From: Eric G. <Eri...@ob...> - 2003-10-15 10:17:12
|
Dear Mark, In the LORENE project, we are using the following small code to parse a source file and transform all lines statement ; /// comment into two lines: /// comment statement ; You can compile this code simply by g++ reorg_comments.C -o reorg_comments and use it as follows: reorg_comments sourcefile.h It leaves the original file unchanged and produces a new file "sourcefile.h_r" which is ready for Doc++ processing. Best wishes, Eric. Youtcheff, Mark A wrote: > Greetings, > Doc++ is a highly praised here, though it would be easier for me to > use if there were some way to indicate > that each comment following respective statement on same line should > be associated with that statement > and not with the statement on the following line. Any reasonable way > known to do do this yet ? > Many thanks. -- Eric Gourgoulhon Laboratoire de l'Univers et de ses THeories (LUTH) UMR 8102 du CNRS / Observatoire de Paris, F-92195 Meudon Cedex, France tel: +33 1.45.07.74.33 (secretariat : +33 1.45.07.75.10) e-mail: Eri...@ob... WWW: http://www.luth.obspm.fr/ |