D9202: Highlighting Indexer: Check for infinite loops

Dominik Haumann noreply at phabricator.kde.org
Tue Dec 5 13:31:45 UTC 2017


dhaumann created this revision.
dhaumann added a reviewer: vkrause.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  The infinite loop check looks for a lookAhead="true" in combination
  with context="#stay". This would possibly lead to an infinite loop,
  and indicates a bug in a highlighting file.

TEST PLAN
  make test

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  CheckLookAhead (branched from master)

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

AFFECTED FILES
  data/syntax/cpp.xml
  src/indexer/katehighlightingindexer.cpp

To: dhaumann, vkrause
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171205/27a3ac9f/attachment.html>


More information about the Kde-frameworks-devel mailing list