U++ framework
Do not panic. Ask here before giving up.

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 #11441 is a reply to message #11438] Wed, 12 September 2007 18:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
mdelfede wrote on Wed, 12 September 2007 12:12

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 !



What file do you want to parse? Buffered file from preprocessor? Actual file you are working on?

Quote:


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



The preprocessor is the simple part... The hard part is caching logic.

Mirek
 
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: Thu May 14 04:26:14 GMT+2 2026

Total time taken to generate the page: 0.00815 seconds