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

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: 14290
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: Sun May 03 11:18:53 GMT+2 2026

Total time taken to generate the page: 0.00698 seconds