Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] some questions about CDT c/cpp parsing

Very true. If I could ask a build configuration for the given ILanguage for a given ITranslationUnit, then I’m set. Right now, you register the ILanguage against a content type in the extension point and ITranslationUnit looks things up there. I’m not sure how things evolve from one to the other to ensure all languages keep working, though. Something to think about.

 

Doug Schaefer, QNX Software Systems

Eclipse CDT Project Lead, Tools PMC member

http://cdtdoug.blogspot.com

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Treggiari, Leo
Sent: Wednesday, May 31, 2006 10:54 AM
To: CDT General developers list.
Subject: RE: [cdt-dev] some questions about CDT c/cpp parsing

 

Hi Doug,

> One problem would be knowing which parser to use for a given file since we are currently triggering of ContentType which would need to be different depending on what compiler you were using.

This is one of the places where I think the CDT-wide concept of the current build configuration and associated tool-chain can help.  The C/CPP tool in the tool-chain can specify the language variant that it understands.

Leo


Back to the top