summaryrefslogtreecommitdiffstats
path: root/src/linguist/lupdate/qdeclarative.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linguist/lupdate/qdeclarative.cpp')
-rw-r--r--src/linguist/lupdate/qdeclarative.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/linguist/lupdate/qdeclarative.cpp b/src/linguist/lupdate/qdeclarative.cpp
index 40af15566..0938b86e8 100644
--- a/src/linguist/lupdate/qdeclarative.cpp
+++ b/src/linguist/lupdate/qdeclarative.cpp
@@ -221,6 +221,13 @@ private:
return std::cerr << qPrintable(m_fileName) << ':' << line << ": ";
}
+ void throwRecursionDepthError()
+ {
+ std::cerr << qPrintable(m_fileName) << ": "
+ << qPrintable(LU::tr("Maximum statement or expression depth exceeded"));
+ }
+
+
void processComments(quint32 offset, bool flush = false);
void processComment(const AST::SourceLocation &loc);
void consumeComment();