aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser/qqmljsgrammar_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2016-11-23 14:45:46 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2016-11-30 13:50:43 +0000
commit6ed23b91b949b7edaf96cdb0f2bba7b21a02de89 (patch)
tree1c409252abf674cbc1bad4fcba247f51d78cb51c /src/qml/parser/qqmljsgrammar_p.h
parent3b4f00ecb54432f514f184c251a316896a88f91a (diff)
Fix support for namespaced types in property/signal declarations
Declarations such as property Namespace.Item foo or property list<Namespace.Item> foo would get rejected by the grammar due to the lack of productions. This is now encapsulated in the UiPropertyType, which used to be merely an identifier but is now changed to produce a UiQualifiedId - the same type that's also used for MyNamespace.Item { ... } object declarations for example. Task-number: QTBUG-10822 Change-Id: Ic3ac1adbe17c83b24b67950c2f089e267b73b99b Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/parser/qqmljsgrammar_p.h')
-rw-r--r--src/qml/parser/qqmljsgrammar_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qml/parser/qqmljsgrammar_p.h b/src/qml/parser/qqmljsgrammar_p.h
index 244a807f24..050ef6c288 100644
--- a/src/qml/parser/qqmljsgrammar_p.h
+++ b/src/qml/parser/qqmljsgrammar_p.h
@@ -167,15 +167,15 @@ public:
T_XOR = 79,
T_XOR_EQ = 80,
- ACCEPT_STATE = 672,
- RULE_COUNT = 360,
- STATE_COUNT = 673,
+ ACCEPT_STATE = 674,
+ RULE_COUNT = 361,
+ STATE_COUNT = 675,
TERMINAL_COUNT = 106,
NON_TERMINAL_COUNT = 111,
- GOTO_INDEX_OFFSET = 673,
- GOTO_INFO_OFFSET = 3185,
- GOTO_CHECK_OFFSET = 3185
+ GOTO_INDEX_OFFSET = 675,
+ GOTO_INFO_OFFSET = 3078,
+ GOTO_CHECK_OFFSET = 3078
};
static const char *const spell [];