Skip to content

Conversation

@ayourtch
Copy link

Michael,

as we discussed - here is a bunch of commits, mostly sequenced in order "testcase then fix".

One of the fixes (multiline comment within the macro definition) causes the existing test to fail,
but this is primarily because it makes it test slightly different scenario, which is already failing today.

I don't know how to cleanly fix it, so instead I have first added a second testcase exposing the current problem and then commented out both testcases with a FIXME.

I also have a couple more branches: "experiment" with the original commits. The code in that branch can successfully process (minus the variadic macros) a ~50K line .h tree, including the standard includes and custom includes from VPP.

Another branch "new" is hopefully other candidates that might be interesting for you to include (I would definitely like to be able to have a search path, for example - and maybe the collection of corner-case tests could be also useful, though I don't know yet how to wrap it into proper tests).

Will be off for two weeks for vacation, so will be slower with replies / less capable in terms of corrections in the code. Anyway hopefully this is useful and matches what you'd expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant