opentuner
opentuner copied to clipboard
halidetuner substitutes *_HOOK unsafely
trafficstars
The match used generally winds up eating all whitespace preceding the macro, often including the newline at the end of a preceding comment line, leading to code like:
// disabled code;
AUTOTUNE_HOOK(f)
becoming:
// disabled code;schedule.definition.inlined.here;
This has bitten me several times in different contexts. It should probably use a less aggressive regexp that doesn't eat surrounding whitespace.