Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] workaround available for 24030? (namespace/dtor par

Thanks Alain.  In the short term, to keep the HEAD branch usable, I'd like
to fix any critical bugs in the old parser such as this one.  We'll move the
new parser over when we're confident we won't make the HEAD branch unusable
(which it would right now).

In the meantime, we are putting things in the NewParser1 branch including a
new ModelBuilder which will provide the integrations you mention.  Feel free
to beat on it over there.

Cheers,
Doug Schaefer
Senior Staff Software Engineer
Rational - the software development company
Ottawa (Kanata), Ontario, Canada

-----Original Message-----
From: Alain Magloire [mailto:alain@xxxxxxx] 
Sent: Tuesday, February 04, 2003 10:27 PM
To: cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] workaround available for 24030? (namespace/dtor par

> 
> The bad answer is that we are rewriting the parser and it should then be
> able to handle this fairly simple file.  Unfortunately, we're a few weeks
> before it is ready to hit the mainstream.  I would be curious why it was
> hanging and try to put together a quick workaround.  If no one else has
the
> time, I can try and take a look at it next week.


my 0.002$

Are you sure you want to do this 8-).  Bugzilla as plenty of examples
capable of bringing down the parser, not sure it is worth the effort to try
to salvage it.

It is a very annoying problem; the CEditor will start the Outliner
calling the parser in the UI thread hanging the IDE.

I can propose plan B, if the new parser is not ready, to take IBM/CDT C
parser.

I would like to move the new parser to the head asap, so we can have time
to beat on it and integrate the other modules(outliner, debugger,
core model, etc ..)



> 
> Doug Schaefer
> Senior Staff Software Engineer
> Rational - the software development company
> Ottawa (Kanata), Ontario, Canada
>  
> 
> -----Original Message-----
> From: Chris Schleicher [mailto:chrissch@xxxxxxxxxxxxxxxxxxx] 
> Sent: Tuesday, February 04, 2003 6:09 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] workaround available for 24030? (namespace/dtor parse
> hang)
> 
> I seem to have stumbled into 24030 and, as far as I can tell, there's
> been barely any discussion of this bug on this (or any other) list.
> A quick summary:  files with contents such as:
> 
>   namespace Foo {
>     class Bar {
>       public:
>         Bar();
>         ~Bar();
>     };
>   }
> 
> appear to hang Eclipse when attempting to open them with the C editor.
> This is essentially all the info (i.e., no further activity) in the
> bug DB. Has anyone looked into this? Any trivial workarounds?
> 
> What's particularly puzzling is that I have several files using this
> paradigm which Eclipse happily digests -- suggesting there is some
> way to get the JavaCC (?) parser to grok this syntax.
> 
> I'm using Eclipse 2.0.2 with the Jan 27th nightly CDT build.
> 
> Chris Schleicher
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top