standardese / cppast

Library to parse and work with the C++ AST
Other
1.69k stars 163 forks source link

CppParser.ParseFile() call hangs #172

Closed sabuncu closed 1 year ago

sabuncu commented 1 year ago

I created a console application, which works 50% of the time. Every other time (i.e. after starting the application from scratch on the command line), the CppParser.ParseFile() call hangs. Same with the CppParser.Parse() call.

What could be the problem, or how can I go about debugging this problem?

Thanks.

Input:

I am using the code in the documentation.

Minimal source code reproducing the error

Input flags:

Output:

Output of `cppast -v <input>`
foonathan commented 1 year ago

I think you meant to share this to https://github.com/xoofx/CppAst.NET

sabuncumurat commented 1 year ago

Sorry about that.