This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> In other words, I think this sort of approach is perfectly > acceptable, and a good idea, for libraries, where the API is what > counts. Note that we do something similar in libiberty. Comments before each function are extracted directly into texinfo documents, simply to collect the API from where it's edited to where it's readable. DJGPP's libc does something similar - texinfo docs are kept with the sources (one texi file per c file), and collected into the libc reference. But I agree that none of the comments in any of the gcc sources have really helped me *understand* why the gcc code is designed the way it is.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |