Whitespace sensitivity in THtml

I’ve noticed THtml does not generate documentation for a method if there is a space between the method name and the argument list in its defintion. For example, if in a class I have a method

void Test() {return 0;}

then the html file generated contains an entry under the “Function documentation” heading for that method; but if I insert a space

void Test () {return 0;}

then it does not.

Is this a bug or a feature? I am using ROOT 5.15/08.

Hi,

THtml triggers on “funcname(”. I agree that this is a bit harsh. I’ll change it.

How could this ever be a feature? And we’re trying our best in reducing the number of bugs. So thanks for submitting it.

Cheers, Axel.

Hi,
this is now fixed in CVS; it will be part of the upcoming production release.
Axel.