summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qdeclarativejsparser.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-10-28 11:28:58 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-10-28 11:28:58 (GMT)
commite7b9fb2e87641a36301babf457056b3350f0431c (patch)
tree3db3d29297d29ac1801a33d50c1273efec97352b /src/declarative/qml/parser/qdeclarativejsparser.cpp
parentb36e845dde90313cf98df118ce6ffd88502b943b (diff)
parent77819edac505823226c40033e76d2dda0e8b363a (diff)
downloadQt-e7b9fb2e87641a36301babf457056b3350f0431c.zip
Qt-e7b9fb2e87641a36301babf457056b3350f0431c.tar.gz
Qt-e7b9fb2e87641a36301babf457056b3350f0431c.tar.bz2
Merge remote branch 'scm/qt/master'
Conflicts: mkspecs/symbian-gcce/qmake.conf
Diffstat (limited to 'src/declarative/qml/parser/qdeclarativejsparser.cpp')
-rw-r--r--src/declarative/qml/parser/qdeclarativejsparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/parser/qdeclarativejsparser.cpp b/src/declarative/qml/parser/qdeclarativejsparser.cpp
index 8afb93d..28ef17d 100644
--- a/src/declarative/qml/parser/qdeclarativejsparser.cpp
+++ b/src/declarative/qml/parser/qdeclarativejsparser.cpp
@@ -679,7 +679,7 @@ case 85: {
else
node = makeAstNode<AST::ObjectLiteral> (driver->nodePool());
node->lbraceToken = loc(1);
- node->lbraceToken = loc(3);
+ node->rbraceToken = loc(3);
sym(1).Node = node;
} break;
@@ -687,7 +687,7 @@ case 86: {
AST::ObjectLiteral *node = makeAstNode<AST::ObjectLiteral> (driver->nodePool(),
sym(2).PropertyNameAndValueList->finish ());
node->lbraceToken = loc(1);
- node->lbraceToken = loc(4);
+ node->rbraceToken = loc(4);
sym(1).Node = node;
} break;