summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlparser.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 01:17:15 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 01:17:15 (GMT)
commitc7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09 (patch)
treeb57be3fff131de378258a4017dddda361c8799d2 /src/declarative/qml/qmlparser.cpp
parent1fbb8472ccb3fe7c1c92e960e37f31b7077f999f (diff)
downloadQt-c7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09.zip
Qt-c7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09.tar.gz
Qt-c7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09.tar.bz2
Improve error handling consistency
Diffstat (limited to 'src/declarative/qml/qmlparser.cpp')
-rw-r--r--src/declarative/qml/qmlparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/qmlparser.cpp b/src/declarative/qml/qmlparser.cpp
index ecb6f0b..87c8434 100644
--- a/src/declarative/qml/qmlparser.cpp
+++ b/src/declarative/qml/qmlparser.cpp
@@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE
using namespace QmlParser;
QmlParser::Object::Object()
-: type(-1), metatype(0), extObject(0), defaultProperty(0), line(-1),
+: type(-1), metatype(0), extObject(0), defaultProperty(0), line(-1), column(-1),
dynamicPropertiesProperty(0), dynamicSignalsProperty(0)
{
}
@@ -127,12 +127,12 @@ QmlParser::Object::DynamicSignal::DynamicSignal(const DynamicSignal &o)
}
QmlParser::Property::Property()
-: type(0), index(-1), value(0), isDefault(true), line(-1)
+: type(0), index(-1), value(0), isDefault(true), line(-1), column(-1)
{
}
QmlParser::Property::Property(const QByteArray &n)
-: type(0), index(-1), value(0), name(n), isDefault(false), line(-1)
+: type(0), index(-1), value(0), name(n), isDefault(false), line(-1), column(-1)
{
}
@@ -161,7 +161,7 @@ void QmlParser::Property::addValue(Value *v)
}
QmlParser::Value::Value()
-: type(Unknown), object(0), line(-1)
+: type(Unknown), object(0), line(-1), column(-1)
{
}