Add semicolons to macro lines