forked from qt-creator/qt-creator
QmlJS indenter: Fix for expressions starting with numbers or strings.
Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -693,6 +693,8 @@ bool CodeFormatter::tryStatement()
|
||||
case List:
|
||||
case Property:
|
||||
case Function:
|
||||
case Number:
|
||||
case String:
|
||||
enter(expression);
|
||||
// look at the token again
|
||||
m_tokenIndex -= 1;
|
||||
|
||||
Reference in New Issue
Block a user