| 340 | |
| 341 | void dumpAst(int num = 0, int indent = 0) const; |
| 342 | void createTokens1(TokenList &tokenList) { |
| 343 | //dumpAst(); // TODO: reactivate or remove |
| 344 | if (isPrologueTypedefDecl()) |
| 345 | return; |
| 346 | if (!tokenList.back()) { |
| 347 | setLocations(tokenList, 0, 1, 1); |
| 348 | } |
| 349 | else |
| 350 | setLocations(tokenList, tokenList.back()->fileIndex(), tokenList.back()->linenr(), 1); |
| 351 | createTokens(tokenList); |
| 352 | if (nodeType == VarDecl || nodeType == RecordDecl || nodeType == TypedefDecl) |
| 353 | addtoken(tokenList, ";"); |
| 354 | mData->mNotScope.clear(); |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * @throws InternalError thrown if index is out of bounds |
no test coverage detected