summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-07-23 07:08:59 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-07-23 07:08:59 (GMT)
commitee91cc1041681654f7a250dc197d0902c53a951f (patch)
treef3bb2bff575423bae651ded1293364583188c50d /src/declarative/qml/parser
parent7fe100b56ccca40de193164d3ce19600cf50bdd4 (diff)
downloadQt-ee91cc1041681654f7a250dc197d0902c53a951f.zip
Qt-ee91cc1041681654f7a250dc197d0902c53a951f.tar.gz
Qt-ee91cc1041681654f7a250dc197d0902c53a951f.tar.bz2
Fixed the semantic action of UiArrayMemberList
Diffstat (limited to 'src/declarative/qml/parser')
-rw-r--r--src/declarative/qml/parser/qmljs.g2
-rw-r--r--src/declarative/qml/parser/qmljsparser.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/parser/qmljs.g b/src/declarative/qml/parser/qmljs.g
index d7fb17c..7d8faee 100644
--- a/src/declarative/qml/parser/qmljs.g
+++ b/src/declarative/qml/parser/qmljs.g
@@ -782,7 +782,7 @@ UiArrayMemberList: UiArrayMemberList T_COMMA UiAnnotation UiObjectDefinition ;
case $rule_number: {
sym(4).UiObjectMember->attributes = sym(3).UiAttributeList;
AST::UiArrayMemberList *node = makeAstNode<AST::UiArrayMemberList> (driver->nodePool(),
- sym(1).UiArrayMemberList, sym(3).UiObjectMember);
+ sym(1).UiArrayMemberList, sym(4).UiObjectMember);
node->commaToken = loc(2);
sym(1).Node = node;
} break;
diff --git a/src/declarative/qml/parser/qmljsparser.cpp b/src/declarative/qml/parser/qmljsparser.cpp
index 93f9fda..296559b 100644
--- a/src/declarative/qml/parser/qmljsparser.cpp
+++ b/src/declarative/qml/parser/qmljsparser.cpp
@@ -360,7 +360,7 @@ case 35: {
case 36: {
sym(4).UiObjectMember->attributes = sym(3).UiAttributeList;
AST::UiArrayMemberList *node = makeAstNode<AST::UiArrayMemberList> (driver->nodePool(),
- sym(1).UiArrayMemberList, sym(3).UiObjectMember);
+ sym(1).UiArrayMemberList, sym(4).UiObjectMember);
node->commaToken = loc(2);
sym(1).Node = node;
} break;