From kdevelop-devel Wed Jul 13 14:38:56 2005 From: Roberto Raggi Date: Wed, 13 Jul 2005 14:38:56 +0000 To: kdevelop-devel Subject: Re: New parser branch (Was: Dumping the source DOM?) Message-Id: <200507131638.57320.roberto () kdevelop ! org> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=112126569600309 Hi Vladimir, On Wednesday 13 July 2005 15:01, Vladimir Prus wrote: > It's only possible to parse call to 'foo' correctly if you know the type of > 'v' and can look into 'v's scope to determine that 'foo' is a function > template, and not something else. > > The fact that gccxml will not produce a parse tree unless you need a > complete translation unit to it, does not mean that gcc parser does not > build AST. good luck with your project. After reading your comments I'm pretty sure you will make it. BTW I'm sure you will have fun to convert gcc's `tree' into an AST suitable for KDevelop. For instance, I'm sure you can easly recreate the structure of a for-statement, maybe using some structure-analysis. This thread is hilarious :-) ciao robe _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel