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 » Developing U++ » U++ Developers corner » Macro thoughts
Macro thoughts [message #19208] Thu, 20 November 2008 11:16 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
I am getting ready about adding support of macros to C++ parser.

There is one hard issue there:

When any macro changes, it is often required to reparse a lot of files (all that use it).

As we parse files quite often (at least, at each file switch), this would be slow.

I am therefore trying to find some other, less complex way how to do that.

The simple way is to do it at compile time (if any macros have changed) and at user request. The downside is that sometimes the code database would be 'out-of-sync' (contain wrong information w.r.t. macros).

Is that acceptable? Any better ideas?

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
Previous Topic: Has "file index" any fans?
Next Topic: Releases thoughts....
Goto Forum:
  


Current Time: Thu May 09 08:24:41 CEST 2024

Total time taken to generate the page: 0.01600 seconds