forked from qt-creator/qt-creator
Fixes: Parsing of GCC asm definitions.
This commit is contained in:
committed by
Roberto Raggi
parent
40eabdd008
commit
d7defc6fe0
@@ -101,10 +101,8 @@ bool PrettyPrinter::visit(ArrayInitializerAST *ast)
|
||||
bool PrettyPrinter::visit(AsmDefinitionAST *ast)
|
||||
{
|
||||
out << spell(ast->asm_token);
|
||||
for (SpecifierAST *it = ast->cv_qualifier_seq; it; it = it->next) {
|
||||
out << ' ';
|
||||
accept(it);
|
||||
}
|
||||
if (ast->volatile_token)
|
||||
out << ' ' << spell(ast->volatile_token) << ' ';
|
||||
out << '(';
|
||||
out << "/* ### implement me */";
|
||||
out << ");";
|
||||
|
||||
Reference in New Issue
Block a user