summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qmljs.g
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-09-08 13:43:43 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-09-08 13:43:43 (GMT)
commit7731e5f7d33d3ec251299c7651e777d7e0054573 (patch)
treeb326e16b1ba93f53e7b5b91f69a61a13a97e24a2 /src/declarative/qml/parser/qmljs.g
parent914e331be160347a031cef131ac1cbc0a6787be0 (diff)
downloadQt-7731e5f7d33d3ec251299c7651e777d7e0054573.zip
Qt-7731e5f7d33d3ec251299c7651e777d7e0054573.tar.gz
Qt-7731e5f7d33d3ec251299c7651e777d7e0054573.tar.bz2
Added an option to the lexer to tell the engine of all comments in a QML
file.
Diffstat (limited to 'src/declarative/qml/parser/qmljs.g')
-rw-r--r--src/declarative/qml/parser/qmljs.g1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/parser/qmljs.g b/src/declarative/qml/parser/qmljs.g
index b0ef866..4ed75e8 100644
--- a/src/declarative/qml/parser/qmljs.g
+++ b/src/declarative/qml/parser/qmljs.g
@@ -80,6 +80,7 @@
%token T_DEBUGGER "debugger"
%token T_RESERVED_WORD "reserved word"
%token T_MULTILINE_STRING_LITERAL "multiline string literal"
+%token T_COMMENT "comment"
--- context keywords.
%token T_PUBLIC "public"