Fix processing of unary T_MINUS_MINUS tokens after semicolon insertion.
authorRoberto Raggi <roberto.raggi@nokia.com>
Wed, 21 Sep 2011 08:18:40 +0000 (10:18 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Sep 2011 12:24:57 +0000 (14:24 +0200)
commit43ff44058d75bec6ad1b8a597fe52009c2bee610
tree66d656a349e93defd5a22560d103f4f07472d307
parent1b2ab918e792a6f9a3b029890dc075592a49c2ee
Fix processing of unary T_MINUS_MINUS tokens after semicolon insertion.

There was a typo in the code, instead of pushing a T_MINUS_MINUS token
the lexer synthesized a T_PLUS_PLUS.

Change-Id: I62dcf263ac363196231fe8f02e98f280899ef85a
Reviewed-on: http://codereview.qt-project.org/5293
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
src/declarative/qml/parser/qdeclarativejslexer.cpp