Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Very first impressions and.... [FEATURE REQUESTS]
Re: Very first impressions and.... [FEATURE REQUESTS] [message #11438 is a reply to message #11436] Wed, 12 September 2007 18:12 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1308
Registered: September 2007
Ultimate Contributor
luzr wrote on Wed, 12 September 2007 17:48

Well, actually, we already have C++ parser Smile

All we need is that partial preprocessor.

The problem of your solution is that you really need to invoke the preprocessor each time you want the info. macros present or not, you need the complete sources up to the point of cursor.


No, you must invoke the preprocessor only when you make some changes in source code that need it, i.e. change a #define or an #ifdef or so. If you don't fiddle with preprocessor stuff, the previous preproc run is enough !
And if you think that in a normal source code file the preprocessor stuff is about 1-5% max of the file, you must agree that preprocessor is not called too often ! Another task would be if you edit some wxwidget file...ehehehehe

Quote:


There is another problem too: After preprocessing, you would have to parse it too...Wink


Of course, but again, the complete reparse should be needed ONLY when you change some preprocessor stuff in code.

I'm not telling you that's an easy task, but I think it's much easier than to write a complete c++ preprocessor.

Ciao

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Escaped backslash in string confuse editor [bug]
Next Topic: Strange behaviour of the query option of TheIDE
Goto Forum:
  


Current Time: Mon Aug 04 15:57:07 CEST 2025

Total time taken to generate the page: 0.07010 seconds