Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Plans to support preprocessor tokens #1

Open
yzctzl opened this issue Jun 8, 2024 · 1 comment
Open

Plans to support preprocessor tokens #1

yzctzl opened this issue Jun 8, 2024 · 1 comment

Comments

@yzctzl
Copy link

yzctzl commented Jun 8, 2024

Thank you for this project, it has been help me for developing a new processor in IntelliJ IDEA.
I noticed that the preprocessor tokens are not supported and I get error like: <spec element> expected, got '@if or <statement> or SleighTokenType.} expected, got '@if'
Are there any plans to support preprocessor tokens?

@agatti
Copy link
Owner

agatti commented Jun 8, 2024

Hi there! I guess I forgot to add @if support to the missing features list.

At the moment the plugin supports more or less all I've ever needed so I didn't really prioritise other features. Right now I haven't worked with Ghidra for a while so I may pick this up again if I get back to it. I also kept things on hold waiting to see if Ghidra would move to a Treesitter grammar but I think the development team decided not to.

However, if you want to give a try at adding that feature yourself, you're more than welcome to! I'd definitely merge such a PR if that would show up :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants