Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/tools/moc/moc.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    231231    }
    232232    while (test(CONST) || test(VOLATILE) || test(SIGNED) || test(UNSIGNED)
    233            || test(STAR) || test(AND)) {
     233           || test(STAR) || test(AND)) {
    234234        type.name += ' ';
    235235        type.name += lexem();
    236236        if (lookup(0) == AND)
    237237            type.referenceType = Type::Reference;
     238
     239
    238240        else if (lookup(0) == STAR)
    239241            type.referenceType = Type::Pointer;
     
    726728
    727729            checkSuperClasses(&def);
     730
    728731
    729732            classList += def;
     
    12071210        }
    12081211    }
     1212
     1213
     1214
     1215
     1216
     1217
    12091218    while (index < symbols.size()) {
    12101219        Token t = symbols.at(index++).token;
     
    12251234            && brackCount <= 0
    12261235            && parenCount <= 0
    1227             && (target != RANGLE || angleCount <= 0))
     1236            && (target != RANGLE || angleCount <= 0)) {
     1237            if (target != COMMA || angleCount <= 0)
     1238                return true;
     1239            possible = index;
     1240        }
     1241
     1242        if (target == COMMA && t == EQ && possible != -1) {
     1243            index = possible;
    12281244            return true;
     1245
    12291246
    12301247        if (braceCount < 0 || brackCount < 0 || parenCount < 0
     
    12341251        }
    12351252    }
     1253
     1254
     1255
     1256
     1257
     1258
    12361259    return false;
    12371260}
     
    12911314}
    12921315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324
     1325
     1326
     1327
     1328
     1329
     1330
     1331
     1332
     1333
     1334
     1335
     1336
     1337
     1338
     1339
     1340
     1341
     1342
     1343
     1344
     1345
     1346
     1347
     1348
     1349
     1350
     1351
     1352
     1353
     1354
     1355
     1356
     1357
     1358
     1359
     1360
     1361
     1362
     1363
     1364
     1365
     1366
     1367
     1368
     1369
     1370
     1371
     1372
    12931373
    12941374QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.