summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/qmljslineinfo.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-04-30 13:35:03 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-04-30 13:36:09 +0200
commit0970a8e6d2c7fb4742bf7bef2899ce76478ecc89 (patch)
tree662c78a3b2caeecac2e0a87bf1bae06054b75424 /src/libs/qmljs/qmljslineinfo.cpp
parentac517807eaf637ebb2b233d7763c32642d47e2eb (diff)
downloadqt-creator-0970a8e6d2c7fb4742bf7bef2899ce76478ecc89.tar.gz
Moved quick-exit check back to the indenter.
Reviewed-by: ckamm
Diffstat (limited to 'src/libs/qmljs/qmljslineinfo.cpp')
-rw-r--r--src/libs/qmljs/qmljslineinfo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libs/qmljs/qmljslineinfo.cpp b/src/libs/qmljs/qmljslineinfo.cpp
index 29f74443ad..a4c8837d1b 100644
--- a/src/libs/qmljs/qmljslineinfo.cpp
+++ b/src/libs/qmljs/qmljslineinfo.cpp
@@ -564,9 +564,6 @@ bool LineInfo::isContinuationLine()
void LineInfo::initialize(QTextBlock begin, QTextBlock end)
{
- if (begin == end)
- return;
-
yyProgram = Program(begin, end);
startLinizer();
}