jessevdk / cldoc

clang based documentation generator for C and C++
GNU General Public License v2.0
553 stars 59 forks source link

Issue with C documentation #110

Closed hannorein closed 6 years ago

hannorein commented 9 years ago

cldoc is failing to compile the documentation for this test case:

test.h:

// double a
extern double a;
// double b
extern double b;

test.c:

// double a
double a = 1;
// double b
double b =1;

I'm compiling it with cldoc 1.9:

cldoc generate  -- --output=doc --language=c  test.c test.h

The xml file looks right, but the html file only shows the first variable. Am I missing something or is this a bug?

jessevdk commented 6 years ago

I ran this, and both variables show up as expected.