diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-05 09:44:25 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-05 09:44:37 +0200 |
commit | 0497c535a267045f4328a2ccb75e095317d9ea40 (patch) | |
tree | 18160d83b05b1dc72d88b51d802de3c7e34803ba /src/shared/cplusplus/PrettyPrinter.cpp | |
parent | b409202b450289e47d8ef1a79827d0eb3c202ab9 (diff) | |
download | qt-creator-0497c535a267045f4328a2ccb75e095317d9ea40.tar.gz |
cleanup
Diffstat (limited to 'src/shared/cplusplus/PrettyPrinter.cpp')
-rw-r--r-- | src/shared/cplusplus/PrettyPrinter.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/shared/cplusplus/PrettyPrinter.cpp b/src/shared/cplusplus/PrettyPrinter.cpp index da116f7e7d..5e6e9f6556 100644 --- a/src/shared/cplusplus/PrettyPrinter.cpp +++ b/src/shared/cplusplus/PrettyPrinter.cpp @@ -192,8 +192,8 @@ bool PrettyPrinter::visit(AttributeAST *ast) bool PrettyPrinter::visit(BaseSpecifierAST *ast) { - outToken(ast->token_virtual); - outToken(ast->token_access_specifier); + outToken(ast->virtual_token); + outToken(ast->access_specifier_token); accept(ast->name); return false; } @@ -208,7 +208,7 @@ bool PrettyPrinter::visit(BinaryExpressionAST *ast) bool PrettyPrinter::visit(BoolLiteralAST *ast) { - outToken(ast->token); + outToken(ast->literal_token); return false; } @@ -636,8 +636,8 @@ bool PrettyPrinter::visit(LinkageBodyAST *ast) bool PrettyPrinter::visit(LinkageSpecificationAST *ast) { outToken(ast->extern_token); - if (ast->extern_type) { - outToken(ast->extern_type); + if (ast->extern_type_token) { + outToken(ast->extern_type_token); } accept(ast->declaration); @@ -681,7 +681,7 @@ bool PrettyPrinter::visit(NamespaceAST *ast) bool PrettyPrinter::visit(NamespaceAliasDefinitionAST *ast) { outToken(ast->namespace_token); - outToken(ast->namespace_name); + outToken(ast->namespace_name_token); outToken(ast->equal_token); accept(ast->name); outToken(ast->semicolon_token); @@ -770,7 +770,7 @@ bool PrettyPrinter::visit(NewTypeIdAST *ast) bool PrettyPrinter::visit(NumericLiteralAST *ast) { - outToken(ast->token); + outToken(ast->literal_token); return false; } @@ -913,7 +913,7 @@ bool PrettyPrinter::visit(SizeofExpressionAST *ast) bool PrettyPrinter::visit(StringLiteralAST *ast) { for (StringLiteralAST *it = ast; it; it = it->next) { - outToken(it->token); + outToken(it->literal_token); } return false; } |