forked from qt-creator/qt-creator
QmlJS:: Fix values in pragma statements when reformatting
Task-number: QDS-9732 Change-Id: Ia3ca22b4a26aef8ac8ffef4fb50a45bdb0e072f8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
@@ -526,6 +526,10 @@ protected:
|
||||
{
|
||||
out("pragma ", ast->pragmaToken);
|
||||
out(ast->name.toString());
|
||||
if (!ast->value.isEmpty()) {
|
||||
out(": ");
|
||||
out(ast->value.toString());
|
||||
}
|
||||
newLine();
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user