Stephen Hodgson
Stephen Hodgson
> PR much welcome for the various issues, as I don't have any time left dedicated for this project these days... No worries, I understand. I will do my best,...
@xoofx this actually seems to be a problem in the [CppAst](https://github.com/xoofx/CppAst) project, as the cpp macro isn't properly applied to the `CppEnumItem.ValueExpression`. I'm trying to track down exactly what's going...
@xoofx where exactly are the macros applied to the expressions?
No, I've already fixed that in https://github.com/xoofx/CppAst.CodeGen/pull/8
I'm talking about more lower level in the CppAst model builder, where we're gathering all the enum expression values.
Correct. That's where I'm currently looking.
So after stepping through each of this I was able to figure out that the [clang tokenizer](https://github.com/xoofx/ClangSharp/blob/ed8f95a042526d79ee84ffea6c3a19813ebfbdb3/ClangSharp/Extensions/CXTranslationUnit.cs#L73) is returning back invalid tokens.
Seems to be fixed. Thanks!
Nope, I was mistaken, I must have updated my headers with the precomputed values
This is quite a manual task. Wondering if the CppAst.CodeGen lib can provide some basic mappings?