Stylistic change: put a space between a macro and an opening double-quotes
Initially, some of this code omitted a space between a closing double-quotes and a macro, which broke with C++11: m_output.write(CSI"0m"CSI"1;1H"CSI"2J"); To make it work with C++11, it changed to: m_output.write(CSI"0m" CSI"1;1H" CSI"2J"); Now I'm fully separating them: m_output.write(CSI "0m" CSI "1;1H" CSI "2J"); I don't expect C++ to change again, breaking my code, but it seems prudent to avoid that possibility. I searched the codebase for matches using this Sublime/Perl regex: ^([^"'\n]*("([^\\"\n]|\\.)*"|'([^\\'\n]|\\.)*'))*[^"'\n]*(?<!^)(?<!\bL)(?<=[A-Za-z0-9_])("([^\\"\n]|\\.)*"|'([^\\'\n]|\\.)*')
This commit is contained in:
parent
18d71a73f2
commit
30d59523ed