[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/script
From: David Nolden <david.nolden.kde () art-master ! de>
Date: 2008-05-29 19:39:39
Message-ID: 1212089979.515807.32662.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 814265 by zwabel:
When the indentation script has produced exceptions, but the returned indentation \
value is valid, use it anyway(A warning that an exception has happened is still \
printed).
Motivation: The indentation_c indent script produces an exception after using \
kdevelop for a while, but it keeps working.
M +1 -1 kateindentscript.cpp
--- trunk/KDE/kdelibs/kate/script/kateindentscript.cpp #814264:814265
@@ -65,7 +65,7 @@
// error during the calling?
if(m_engine->hasUncaughtException()) {
displayBacktrace(result, "Error calling indent()");
- return -2;
+ m_engine->clearExceptions();
}
int indentAmount = result.toInt32 ();
if(m_engine->hasUncaughtException()) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic