[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kate/part
From: Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date: 2007-04-27 15:48:06
Message-ID: 1177688886.265208.25853.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 658529 by mwoehlke:
CCBUG: 144599
Ignore rules that would lead to a recursive context stack (i.e. ones that push the \
top context without eating any characters).
M +4 -0 katehighlight.cpp
--- branches/KDE/3.5/kdelibs/kate/part/katehighlight.cpp #658528:658529
@@ -1452,6 +1452,10 @@
if (offset2 <= offset)
continue;
+ // BUG 144599: Ignore a context change that would push the same context
+ // without eating anything... this would be an infinite loop!
+ if ( item->lookAhead && item->ctx == ctxNum )
+ continue;
if (item->region2)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic