[Doxygen-develop] (no subject)
Brought to you by:
dimitri
From: <ze...@us...> - 2003-03-10 12:28:36
|
Hi, My school teaches programming using C++, but to simplify its use it has defined a bunch of new 'keywords' using #define. (As is shown on the following website: http://www.cis.ohio- state.edu/~weide/sce/rcpp/RESOLVE_Catalog-HTML/AT/Array/Are_In_Order_At.html Believe it or not, that is valid C++) I'd like to use Doxygen on such code, but there are several problems. Doxygen gets confused when keywords are aliased using #define, as when the keyword 'class' (as used in templates) is aliased to the word as 'concrete_instance', then Doxygen will merge the new keyword with the following word. This problem will not go away even if I enable macro preprocessing. Does anyone else encounter the same problem or even the need to have it addressed? Now, I realize that I could write a source filter to 'convert' the files to proper C++ before using doxygen on them. This raises another problem. The filter is shared both by the input to doxygen's processing, and to the syntax hiliter. So, it would be nice if the syntax hilighter was pluggable (so that we could highlight our own parts of the source code), and different from the one used for processing. I'd be willing to write the necessary changes myself, if I found that there was any interest in them. Thank you for hearing me out, -Eugene Talagrand |