Convert FREEdo and TRAVdo to FREEopt and TRAVopt
-
Review changes -
-
Download -
Email patches
-
Plain diff
All threads resolved!
Used regular expressions to convert do to opt whenever possible.
For example,
if\s*\(\s*(.*)\s*!= NULL\) \{\s*\n(\s*)(?:\1\n?\s*= )?FREEdoFreeTree\s*\(\s*\1\);\n\s*\}
to
$1 = FREEoptFreeTree ($1);
And similarly for FREEdoFreeNode
and TRAVdo
, and for slight variations.
Thanks to Michiel for providing this regex.
assigned to @JordyAaldering
changed the description
approved this merge request
- MaintainerResolved by Jordy Aaldering
Why did you mark it as a draft? The changes look like they clean up a lot of code safely.
-
Last reply by Jordy Aaldering
marked this merge request as ready
resolved all threads
merged
mentioned in commit cc4b5de7
- You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare and