summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-09 01:15:35 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-09 01:15:35 (GMT)
commitd9fadadd4f78a5be9deca1da26be7d86f4da338c (patch)
tree1cb0d63b014cb62951b010d684ac4eda9a79b89b /src/declarative/qml/parser
parent0f1ad0fb5bc5d601a4379eefe14a60c0b9fc6454 (diff)
downloadQt-d9fadadd4f78a5be9deca1da26be7d86f4da338c.zip
Qt-d9fadadd4f78a5be9deca1da26be7d86f4da338c.tar.gz
Qt-d9fadadd4f78a5be9deca1da26be7d86f4da338c.tar.bz2
Remove debug.
Diffstat (limited to 'src/declarative/qml/parser')
-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);