Changeset 846 for trunk/src/tools/moc/moc.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/tools/moc/moc.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 231 231 } 232 232 while (test(CONST) || test(VOLATILE) || test(SIGNED) || test(UNSIGNED) 233 || test(STAR) || test(AND) ) {233 || test(STAR) || test(AND)) { 234 234 type.name += ' '; 235 235 type.name += lexem(); 236 236 if (lookup(0) == AND) 237 237 type.referenceType = Type::Reference; 238 239 238 240 else if (lookup(0) == STAR) 239 241 type.referenceType = Type::Pointer; … … 726 728 727 729 checkSuperClasses(&def); 730 728 731 729 732 classList += def; … … 1207 1210 } 1208 1211 } 1212 1213 1214 1215 1216 1217 1209 1218 while (index < symbols.size()) { 1210 1219 Token t = symbols.at(index++).token; … … 1225 1234 && brackCount <= 0 1226 1235 && 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; 1228 1244 return true; 1245 1229 1246 1230 1247 if (braceCount < 0 || brackCount < 0 || parenCount < 0 … … 1234 1251 } 1235 1252 } 1253 1254 1255 1256 1257 1258 1236 1259 return false; 1237 1260 } … … 1291 1314 } 1292 1315 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 1293 1373 1294 1374 QT_END_NAMESPACE
Note:
See TracChangeset
for help on using the changeset viewer.