<table><tr><td style="">smokris created this revision.<br />smokris added a project: Framework: Syntax Highlighting.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />smokris requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22095">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The CMake syntax highlighter was getting confused by balanced<br />
parentheses in add_custom_command()'s COMMAND arguments.<br />
This patch turns on the 'nested-parentheses' flag for that<br />
command, enabling parentheses to be parsed correctly.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Added a test in <tt style="background: #ebebeb; font-size: 13px;">autotests/input/highlight.cmake</tt> and updated the corresponding reference output files.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22095">https://phabricator.kde.org/D22095</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>generators/cmake.yaml<br />
html/highlight.cmake.html<br />
input/highlight.cmake<br />
reference/highlight.cmake.ref<br />
syntax/cmake.xml</div></div></div><br /><div><strong>To: </strong>smokris<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, LeGast00n, gennad, bmortimer, domson, michaelh, genethomas, ngraham, bruns, demsking, cullmann, vkrause, sars, dhaumann<br /></div>