summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/parser/qmljslexer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/declarative/qml/parser/qmljslexer.cpp b/src/declarative/qml/parser/qmljslexer.cpp
index 3be1710..f302733 100644
--- a/src/declarative/qml/parser/qmljslexer.cpp
+++ b/src/declarative/qml/parser/qmljslexer.cpp
@@ -43,8 +43,6 @@
#include "config.h"
#endif
-#include <QDebug>
-
#include "qmljsengine_p.h"
#include "qmljslexer_p.h"
#include "qmljsgrammar_p.h"
@@ -98,7 +96,7 @@ Lexer::Lexer(Engine *eng, bool tokenizeComments)
parenthesesCount(0),
prohibitAutomaticSemicolon(false),
tokenizeComments(tokenizeComments)
-{qDebug()<<"--- new lexer";
+{
driver->setLexer(this);
// allocate space for read buffers
buffer8 = new char[size8];
@@ -650,7 +648,6 @@ int Lexer::lex()
setDone(Other);
} else
state = Start;
- qDebug() << "--- state is InSingleLineComment @" << startlineno << ":"<<startcolumn;
driver->addComment(startpos, tokenLength(), startlineno, startcolumn);
} else if (current == 0) {
driver->addComment(startpos, tokenLength(), startlineno, startcolumn);