diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-07-23 07:08:59 (GMT) |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-07-23 07:08:59 (GMT) |
commit | ee91cc1041681654f7a250dc197d0902c53a951f (patch) | |
tree | f3bb2bff575423bae651ded1293364583188c50d /src/declarative/qml/parser | |
parent | 7fe100b56ccca40de193164d3ce19600cf50bdd4 (diff) | |
download | Qt-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.g | 2 | ||||
-rw-r--r-- | src/declarative/qml/parser/qmljsparser.cpp | 2 |
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; |