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:
parent
7ae8706122
commit
eca1bd08cf
@ -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.
|
||||
|
5715
gcc/cp/parse.c
5715
gcc/cp/parse.c
File diff suppressed because it is too large
Load Diff
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user