mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
LanguageServers/Cpp: Support jumping to declaration of preprocessor
.. definitions.
This commit is contained in:
parent
7bf6eca9d8
commit
8688259ed9
8 changed files with 43 additions and 10 deletions
|
@ -35,6 +35,6 @@ int main(int, char**)
|
|||
exit(1);
|
||||
}
|
||||
auto content = file->read_all();
|
||||
Cpp::Preprocessor cpp(StringView { content });
|
||||
Cpp::Preprocessor cpp("other.h", StringView { content });
|
||||
dbgln("{}", cpp.process());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue