LEGACY_EXEC ifdef's

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

Locked
LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1209
Joined: Thu Apr 11, 2013 11:27 am

LEGACY_EXEC ifdef's

Post by LCMark » Thu Jul 18, 2013 10:33 am

If you update your develop branch you might notice a fair number of changes - in particular, you'll see that a lot of places have been wrapped in 'ifdefs' of the form:

Code: Select all

#ifdef ... LEGACY_EXEC
<code>
#endif
These are there to help when we integrate develop into the 'refactor-syntax' branch - the latter being somewhat tricky as code has/is being moved around between files. Essentially, we have a small tool on the syntax branch that pulls out all of these blocks and compares them between the 'develop' and 'syntax' branches - giving a list of changes to existing code (on develop) that needs to be integrated into the syntax branch. This should help ensure we don't miss any bugfixes or changes that are made during this interim period.

The guys working on the refactoring will add these to both branches as and when required - the only thing to heed is that if you are making any changes to code in the handlers which have such an ifdef block then make sure they are within the ifdef block :)

Locked

Return to “Engine Contributors”