Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-core-dev] Parser comments

Sebastien wrote: 
> - declarations of the kind:
> 
> int kdecl foobar(int a) {
> }
> 
> where kdecl is defined in a header as some compiler-specific 
> attribute.
> "kdecl" 
> confuses the parser. One thought (we'd discussed this before) 
> is to have a
> list
> of ignored keywords that the user can set up (these could 
> include some of
> the gcc
> extensions).

The strategy that we've taken (since we do not have the build model yet) is
to have better error-handling on undefined symbols like this.  I've added in
some extra error-handling code this morning that makes that example work in
the Outline view, I will submit a patch today for it.  For the full-parse
scenario (i.e. for indexing) we fully intend to make the choice of parser
and predefined symbols driven by build configuration.  

> Also, I updated the ui.tests plugin, but got compile errors 
> in the DomTests
> and ParserSymbolTableTests files. Checked in a fix.

I don't see any checkins from you when I check resource history.  What
exactly was the problem?  Are we using the wrong version of junit or
something? 

JohnC 


Back to the top