parse.y (simple_stmt): Allow :: token in asm parameter list.

* parse.y (simple_stmt): Allow :: token in asm parameter list.
        * parse.c: Rebuilt.

From-SVN: r31753
This commit is contained in:
Ulrich Drepper 2000-02-01 23:30:44 -07:00 committed by Jeff Law
parent 7ae8706122
commit eca1bd08cf
3 changed files with 2883 additions and 2845 deletions

View File

@ -1,3 +1,8 @@
2000-02-1 Ulrich Drepper <drepper@redhat.com>
* parse.y (simple_stmt): Allow :: token in asm parameter list.
* parse.c: Rebuilt.
Mon Jan 31 15:35:29 2000 Jim Wilson <wilson@cygnus.com>
* class.c (build_vtbl_or_vbase_field): New parameter fcontext.

File diff suppressed because it is too large Load Diff

View File

@ -3249,10 +3249,18 @@ simple_stmt:
/* This is the case with input operands as well. */
| asm_keyword maybe_cv_qualifier '(' string ':' asm_operands ':' asm_operands ')' ';'
{ finish_asm_stmt ($2, $4, $6, $8, NULL_TREE); }
| asm_keyword maybe_cv_qualifier '(' string SCOPE asm_operands ')' ';'
{ finish_asm_stmt ($2, $4, NULL_TREE, $6, NULL_TREE); }
/* This is the case with clobbered registers as well. */
| asm_keyword maybe_cv_qualifier '(' string ':' asm_operands ':'
asm_operands ':' asm_clobbers ')' ';'
{ finish_asm_stmt ($2, $4, $6, $8, $10); }
| asm_keyword maybe_cv_qualifier '(' string SCOPE asm_operands ':'
asm_clobbers ')' ';'
{ finish_asm_stmt ($2, $4, NULL_TREE, $6, $8); }
| asm_keyword maybe_cv_qualifier '(' string ':' asm_operands SCOPE
asm_clobbers ')' ';'
{ finish_asm_stmt ($2, $4, $6, NULL_TREE, $8); }
| GOTO '*' expr ';'
{
if (pedantic)