summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/qmlparser/qqmljsengine_p.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-03-07 19:01:34 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-14 19:49:38 +0100
commit8977d2fbb4f8e64ed2aa4e7470ca1d3f7f387f7f (patch)
tree0d2e83dcf1c5226aa7bf449f18e4cda337c989de /src/tools/qdoc/qmlparser/qqmljsengine_p.cpp
parentd3d8ac354665687bd7c96e3f4b3c8b7e0d9c3172 (diff)
update qml parser to current version from qtdeclarative
Change-Id: Ic623614aa3c63197e44bf1ae04001997fe7deaac Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/tools/qdoc/qmlparser/qqmljsengine_p.cpp')
-rw-r--r--src/tools/qdoc/qmlparser/qqmljsengine_p.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/qdoc/qmlparser/qqmljsengine_p.cpp b/src/tools/qdoc/qmlparser/qqmljsengine_p.cpp
index 8db6ce1641..7dc3b6f6cb 100644
--- a/src/tools/qdoc/qmlparser/qqmljsengine_p.cpp
+++ b/src/tools/qdoc/qmlparser/qqmljsengine_p.cpp
@@ -42,15 +42,15 @@
#include "qqmljsengine_p.h"
#include "qqmljsglobal_p.h"
-#include <qnumeric.h>
-#include <qhash.h>
-#include <qdebug.h>
+#include <QtCore/qnumeric.h>
+#include <QtCore/qhash.h>
+#include <QtCore/qdebug.h>
QT_QML_BEGIN_NAMESPACE
namespace QQmlJS {
-static int toDigit(char c)
+static inline int toDigit(char c)
{
if ((c >= '0') && (c <= '9'))
return c - '0';