Fix CMake COMMAND nested paren highlighting

Authored by cullmann on Jul 3 2019, 6:17 PM.

Description

Fix CMake COMMAND nested paren highlighting

Summary:
The CMake syntax highlighter was getting confused by balanced
parentheses in several functions' COMMAND arguments.
This patch turns on the 'nested-parentheses' flag for those
commands, enabling parentheses to be parsed correctly.

Test Plan: Added tests in autotests/input/highlight.cmake and updated the corresponding reference output files.

Reviewers: Framework: Syntax Highlighting, cullmann

Reviewed By: Framework: Syntax Highlighting, cullmann

Subscribers: turbov, cullmann, kwrite-devel, kde-frameworks-devel

Tags: Framework: Syntax Highlighting, Kate, Frameworks

Differential Revision: https://phabricator.kde.org/D22095

Details

Committed
cullmannJul 3 2019, 6:17 PM
Reviewer
Framework: Syntax Highlighting
Differential Revision
D22095: Fix CMake COMMAND nested paren highlighting
Parents
R216:8b7cac75a7e8: Fix and expand GDB unit test
Branches
Unknown
Tags
Unknown