问题
Following this question disable-syntax-error, I need something really similar.
I have my set of eclipse plugins and I want to support my own language which extends C++ with some keywords and concepts. For example:
int i = @$symbol;
the identifier @$symbol is defined somehere else, and literally substituted from my custom compiler before the real C code gets to the C compiler.
Now I need some basic guideline to what class override in CDT codebase, to get rid of "Symbol could not be resolved". The answer to the post disable-syntax-error is not clear to me.. I need some basic information or good practice on how to extend the CDT, maybe some kind of tutorial.
Thank you
来源:https://stackoverflow.com/questions/59968431/disable-or-skip-parsing-of-some-token-in-c-c-language-eclipse-plugin-using-c