-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
I have the following in a doxygen XML:
<simplesect kind="return"><para>None <verbatim>embed:rst:leading-asterisk
Example
-------
Set the initialization routines to select a value for gene i
uniformly randomly from the interval [0,i]. Assumes all strings
are of the same length.
.. code-block:: c
PGAContext *ctx;
int *low, *high, stringlen, i;
stringlen = PGAGetStringLength (ctx);
low = malloc (stringlen * sizeof (int));
high = malloc (stringlen * sizeof (int));
for (i=0; i<stringlen; i++) {
low [i] = 0;
high [i] = i;
}
PGASetIntegerInitRange (ctx, low, high);</verbatim> </para>
</simplesect>
When converting this to a man page (or also when creating html) the first '*' in every line is missing:
EXAMPLE
Set the initialization routines to select a value for gene i uniformly
randomly from the interval [0,i]. Assumes all strings are of the same
length.
PGAContext ctx;
int low, *high, stringlen, i;
stringlen = PGAGetStringLength (ctx);
low = malloc (stringlen sizeof (int));
high = malloc (stringlen sizeof (int));
for (i=0; i<stringlen; i++) {
low [i] = 0;
high [i] = i;
}
PGASetIntegerInitRange (ctx, low, high);
Note how the '*' before ctx, low and in malloc are missing.
I don't know if this is a bug in exhale or if the problem is occurring later in the toolchain. It seems that Doxygen is not at fault though.
Metadata
Metadata
Assignees
Labels
No labels