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.
Details
Details
- Reviewers
cullmann - Group Reviewers
Framework: Syntax Highlighting - Commits
- R216:2abb1fd6e151: Fix CMake COMMAND nested paren highlighting
Added tests in autotests/input/highlight.cmake and updated the corresponding reference output files.
Diff Detail
Diff Detail
- Repository
- R216 Syntax Highlighting
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I would say all commands w/ COMMAND named parameter need that. Also, add_custrom_target and execute_process...
Comment Actions
Ah, yes. Here's a revised patch that also applies that change (and adds tests) for add_custom_target, execute_process, and add_test.