* dynamically parse c++-code-snipping from a plugin and skipping included files
@ 2022-06-09 17:58 Julian Lohuis
2022-06-09 18:23 ` dynamically parse c++-code-snippets " Julian Lohuis
0 siblings, 1 reply; 2+ messages in thread
From: Julian Lohuis @ 2022-06-09 17:58 UTC (permalink / raw)
To: gcc-help
^ permalink raw reply [flat|nested] 2+ messages in thread
* dynamically parse c++-code-snippets from a plugin and skipping included files
2022-06-09 17:58 dynamically parse c++-code-snipping from a plugin and skipping included files Julian Lohuis
@ 2022-06-09 18:23 ` Julian Lohuis
0 siblings, 0 replies; 2+ messages in thread
From: Julian Lohuis @ 2022-06-09 18:23 UTC (permalink / raw)
To: gcc-help, Julian Lohuis (Julian Lohuis)
Hello,
I am writing a plugin for the latest gcc (12.1).
The plugin needs to dynamically parse c++-code-snippets to tree objects so they can be inserted at a later stage during compilation.
Is there a way to call into the existing parser to generate a tree from a const char*, source_range or anything similar?
Secondly can I make gcc ignore a file after the PLUGIN_INCLUDE_FILE-event of that file is called?
Thanks,
Julian Lohuis
On Thursday, June 09, 2022 19:58 CEST, "Julian Lohuis" <jlohuis@uni-osnabrueck.de> wrote:
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-09 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 17:58 dynamically parse c++-code-snipping from a plugin and skipping included files Julian Lohuis
2022-06-09 18:23 ` dynamically parse c++-code-snippets " Julian Lohuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).