smokris created this revision.
smokris added a project: Framework: Syntax Highlighting.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
smokris requested review of this revision.

REVISION SUMMARY
  The CMake syntax highlighter was getting confused by balanced
  parentheses in add_custom_command()'s COMMAND arguments.
  This patch turns on the 'nested-parentheses' flag for that
  command, enabling parentheses to be parsed correctly.

TEST PLAN
  Added a test in `autotests/input/highlight.cmake` and updated the 
corresponding reference output files.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D22095

AFFECTED FILES
  generators/cmake.yaml
  html/highlight.cmake.html
  input/highlight.cmake
  reference/highlight.cmake.ref
  syntax/cmake.xml

To: smokris
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, gennad, bmortimer, domson, 
michaelh, genethomas, ngraham, bruns, demsking, cullmann, vkrause, sars, 
dhaumann

Reply via email to