Improve protection of autofolded pragmas.