summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/javascriptparser_p.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-05-14 12:25:27 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-05-14 12:25:27 (GMT)
commitce4e9004d23f4cb5bb03292436db81934c85921f (patch)
treefbda72517a8092d788988717fe44372e4e1eec95 /src/declarative/qml/parser/javascriptparser_p.h
parentc041a09b0243d7b2dfbb02bafec6ea29520ef578 (diff)
downloadQt-ce4e9004d23f4cb5bb03292436db81934c85921f.zip
Qt-ce4e9004d23f4cb5bb03292436db81934c85921f.tar.gz
Qt-ce4e9004d23f4cb5bb03292436db81934c85921f.tar.bz2
Introduced UiStatement in the QML grammar.
UiStatement is a small subset of the JavaScript statements. We don't really want our users to use control flow statements in the left hand side of a binding (e.g. Item { x: return 42 }).
Diffstat (limited to 'src/declarative/qml/parser/javascriptparser_p.h')
-rw-r--r--src/declarative/qml/parser/javascriptparser_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/parser/javascriptparser_p.h b/src/declarative/qml/parser/javascriptparser_p.h
index a9f8593..aa29ff3 100644
--- a/src/declarative/qml/parser/javascriptparser_p.h
+++ b/src/declarative/qml/parser/javascriptparser_p.h
@@ -194,9 +194,9 @@ protected:
-#define J_SCRIPT_REGEXPLITERAL_RULE1 52
+#define J_SCRIPT_REGEXPLITERAL_RULE1 57
-#define J_SCRIPT_REGEXPLITERAL_RULE2 53
+#define J_SCRIPT_REGEXPLITERAL_RULE2 58
QT_END_NAMESPACE