diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 34f4558a113..a28a7bc0386 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -11538,7 +11538,7 @@ cp_parser_direct_declarator (cp_parser* parser, here because we do not have enough information about its original syntactic form. */ - error ("invalid declarator"); + cp_parser_error (parser, "invalid declarator"); declarator = cp_error_declarator; break; } |