* parse.y (notype_unqualified_id): Also accept ~A<int>.

From-SVN: r21870
This commit is contained in:
Jason Merrill 1998-08-20 02:54:29 +00:00 committed by Jason Merrill
parent 7688e2e244
commit eab049e2f6
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
1998-08-20 Jason Merrill <jason@yorick.cygnus.com>
* parse.y (notype_unqualified_id): Also accept ~A<int>.
1998-08-19 Mark Mitchell <mark@markmitchell.com>
* typeck.c (build_binary_op_nodefault): Warn on use of NULL in

View file

@ -1279,6 +1279,8 @@ expr_no_commas:
notype_unqualified_id:
'~' see_typename identifier
{ $$ = build_parse_node (BIT_NOT_EXPR, $3); }
| '~' see_typename template_type
{ $$ = build_parse_node (BIT_NOT_EXPR, $3); }
| template_id
| operator_name
| IDENTIFIER