Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Outline problem with anonymous structs
Outline problem with anonymous structs [message #59780] Fri, 24 January 2003 10:28 Go to next message
Eclipse UserFriend
Originally posted by: f.frumento.sciro.com

Hi! I've used a bit CDT it's very nice but in my project i've some
anonymous typedefs.. and the outline stop to show after the first...

here's an example...

typedef struct {
int a;
int b;
int c;
}a_struct;

typedef struct {
int e;
int f;
int g;
}b_struct;

typedef struct {
int h;
int i;
int l;
}c_struct;
---------------------------
another example
---------------------------
typedef struct a_s {
int a;
int b;
int c;
}a_struct;

typedef struct {
int e;
int f;
int g;
}b_struct;

typedef struct {
int h;
int i;
int l;
}c_struct;

in the second example the outline show the a_s struct and the b_struct
as anonymous... but not the c_struct type...

thanks and regards

Fabio
Re: Outline problem with anonymous structs [message #61021 is a reply to message #59780] Mon, 03 February 2003 19:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alain.no.spam

Fabio Frumento wrote:

> Hi! I've used a bit CDT it's very nice but in my project i've some
> anonymous typedefs.. and the outline stop to show after the first...

Yes, The parser is failing. I got no solution for you
at this point. The solution of course is: we need a
better parser .. and we are working on it, can not
even promise it for the next release 8-(.

Thanks for the test case.


> here's an example...

> typedef struct {
> int a;
> int b;
> int c;
> }a_struct;

> typedef struct {
> int e;
> int f;
> int g;
> }b_struct;

> typedef struct {
> int h;
> int i;
> int l;
> }c_struct;
> ---------------------------
> another example
> ---------------------------
> typedef struct a_s {
> int a;
> int b;
> int c;
> }a_struct;

> typedef struct {
> int e;
> int f;
> int g;
> }b_struct;

> typedef struct {
> int h;
> int i;
> int l;
> }c_struct;

> in the second example the outline show the a_s struct and the b_struct
> as anonymous... but not the c_struct type...

> thanks and regards

> Fabio
Re: Outline problem with anonymous structs [message #61552 is a reply to message #61021] Fri, 07 February 2003 08:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: f.frumento.sciro.com

ok thanks... just to know if I was wrong :-)

where to check the parser code ? I would like to sustain the project...
Re: Outline problem with anonymous structs [message #61697 is a reply to message #61552] Fri, 07 February 2003 16:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alain.no.spam

Fabio Frumento wrote:

> ok thanks... just to know if I was wrong :-)

> where to check the parser code ? I would like to sustain the project...

It is in the cvs branch on dev.eclipse.org:/home/tools,
plugin org.eclipse.cdt.core (new_parser).
IBM/Rational is leading the project.
Re: Outline problem with anonymous structs [message #62130 is a reply to message #61697] Thu, 13 February 2003 05:29 Go to previous message
Eclipse UserFriend
Originally posted by: f.frumento.sciro.com

Thanks :)

alain ha scritto:
> Fabio Frumento wrote:
>
>
>>ok thanks... just to know if I was wrong :-)
>
>
>>where to check the parser code ? I would like to sustain the project...
>
>
> It is in the cvs branch on dev.eclipse.org:/home/tools,
> plugin org.eclipse.cdt.core (new_parser).
> IBM/Rational is leading the project.
>
>
>
>
>
Previous Topic:starters help conserning import of java files
Next Topic:Dynamic universal Make file
Goto Forum:
  


Current Time: Wed Apr 16 18:03:23 EDT 2025

Powered by FUDForum. Page generated in 0.03135 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top