diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-04-09 14:54:50 (GMT) |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-04-24 07:52:33 (GMT) |
commit | 78e71084a29facdc5d2a81383b0f5bb1f78440bf (patch) | |
tree | 7af335674267225badc5ddad2eab3748d546d884 /src/declarative/qml/parser | |
parent | 352159138ee768a1b3387cf043663b18f0e1e293 (diff) | |
download | Qt-78e71084a29facdc5d2a81383b0f5bb1f78440bf.zip Qt-78e71084a29facdc5d2a81383b0f5bb1f78440bf.tar.gz Qt-78e71084a29facdc5d2a81383b0f5bb1f78440bf.tar.bz2 |
Compile with gcc 4.x
Diffstat (limited to 'src/declarative/qml/parser')
-rw-r--r-- | src/declarative/qml/parser/javascript.g | 4 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptparser.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/parser/javascript.g b/src/declarative/qml/parser/javascript.g index 24467dd..af12a73 100644 --- a/src/declarative/qml/parser/javascript.g +++ b/src/declarative/qml/parser/javascript.g @@ -590,11 +590,11 @@ case $rule_number: { UiQualifiedId: UiQualifiedId T_DOT T_IDENTIFIER ; /. -case $rule_number: +case $rule_number: { AST::UiQualifiedId *node = makeAstNode<AST::UiQualifiedId> (driver->nodePool(), sym(1).UiQualifiedId, sym(3).sval); node->identifierToken = loc(3); sym(1).Node = node; - break; +} break; ./ diff --git a/src/declarative/qml/parser/javascriptparser.cpp b/src/declarative/qml/parser/javascriptparser.cpp index 0b87500..7e95ec7 100644 --- a/src/declarative/qml/parser/javascriptparser.cpp +++ b/src/declarative/qml/parser/javascriptparser.cpp @@ -248,11 +248,11 @@ case 13: { sym(1).Node = node; } break; -case 14: +case 14: { AST::UiQualifiedId *node = makeAstNode<AST::UiQualifiedId> (driver->nodePool(), sym(1).UiQualifiedId, sym(3).sval); node->identifierToken = loc(3); sym(1).Node = node; - break; +} break; case 15: { AST::ThisExpression *node = makeAstNode<AST::ThisExpression> (driver->nodePool()); |