Mail Archives: djgpp-workers/1998/02/23/17:55:48
> mkdoc doesn't use any advanced C++ -- just member functions in a struct,
Yup, I don't use "full" C++ unless the task calls for it. Otherwise,
C++ is used so that I can declare variables where they're used and
maybe implement a class to contain some group of related functions
with their data.
> AFAICS. I presume that it's not intended to implement a versatile macro
> system; just enough to handle the portability information. In this case
> I'd revise the suggestion to something like this:
>
> : @subheading Portability
I would have done something even simpler:
@port-note borland Borland's function take only two parameters
@port-note msc MS
@portability ansi posix ~borland ~msc
Note that the port-note lines come before the portability line, and
each starts with a keyword matching one of the portability keywords.
Again, ~ means "sort of compatible"; one would expect a note for each ~.
Putting the notes first means that you can generate the texinfo as
soon as you see the portability line.
> This relies on us adding specific code to mkdoc to deal with the
> portability information, rather than generic macro expansion code. I
> personally think this is appropriate; mkdoc is a specialist utility.
Agreed.
- Raw text -