diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index cfb512b..30a3fab 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -16747,10 +16747,11 @@ cp_parser_asm_definition (cp_parser* parser) && cp_lexer_next_token_is_not (parser->lexer, CPP_CLOSE_PAREN) && !goto_p) - outputs = cp_parser_asm_operand_list (parser); - - if (outputs == error_mark_node) - invalid_outputs_p = true; + { + outputs = cp_parser_asm_operand_list (parser); + if (outputs == error_mark_node) + invalid_outputs_p = true; + } } /* If the next token is `::', there are no outputs, and the next token is the beginning of the inputs. */ @@ -16771,10 +16772,11 @@ cp_parser_asm_definition (cp_parser* parser) CPP_SCOPE) && cp_lexer_next_token_is_not (parser->lexer, CPP_CLOSE_PAREN)) - inputs = cp_parser_asm_operand_list (parser); - - if (inputs == error_mark_node) - invalid_inputs_p = true; + { + inputs = cp_parser_asm_operand_list (parser); + if (inputs == error_mark_node) + invalid_inputs_p = true; + } } else if (cp_lexer_next_token_is (parser->lexer, CPP_SCOPE)) /* The clobbers are coming next. */ |