Highlighting Indexer: Warn about duplicate contexts

Authored by dhaumann on Dec 3 2017, 2:05 PM.

Description

Highlighting Indexer: Warn about duplicate contexts

Summary:
Warn, if two contexts have the same name.

Currently, we have the following issues:
ContextChecker::processElement: "data/syntax/cgis.xml" context duplicate: "Region Marker"
ContextChecker::processElement: "data/syntax/cgis.xml" context duplicate: "Commentar 1"
ContextChecker::processElement: "data/syntax/cgis.xml" context duplicate: "Commentar 2"
ContextChecker::processElement: "data/syntax/diff.xml" context duplicate: "File"
ContextChecker::processElement: "data/syntax/objectivecpp.xml" context duplicate: "Preprocessor"
ContextChecker::processElement: "data/syntax/spice.xml" context duplicate: "String"

Test Plan: make && make test

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: Frameworks

Tags: Frameworks

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

Details

Committed
dhaumannDec 3 2017, 2:07 PM
Reviewer
vkrause
Differential Revision
D9132: Highlighting Indexer: Warn about duplicate contexts
Parents
R216:6b7cd0c8735a: Highlighting Indexer: Check for duplicate itemDatas
Branches
Unknown
Tags
Unknown