Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Extending GCC parser

I'm getting to the stage where I am playing with the GCC parser to extend it to ObjC syntax. However, the packages I need, whilst public and exported, are in the .internal. namespace. They're also marked as friends only to cdt.ui bundle.

As long as Eclipse isn't in strict mode, I can continue to use these for proof-of-concept ideas, but anyone checking out the project will be faced with a barrage of errors and warnings about visibility.

I've bodged this in my local env by adding the objc plugin to the list of friends (after gratuitously failing to find the compiler flag to ignore all these kinds of problems). So far, so good.

Looking ahead to getting this in CDT for real; would the ObjC be delivered in its own bundles (org.eclipse.cdt.objc.*) or be folded into the CDT bundles (org.eclipse.cdt.*)? if the former, then perhaps adding the ObjC as a friend is the right thing to do anyway.

For the time being, I'm going to assume that a local bodged version is the way forward to get some traction going on the parser.

Alex

Sent from my (new) iPhone


Back to the top