parser.c (cp_parser_primary_expression): Document the grammar for the built-in offsetof, a GNU extension.

* parser.c (cp_parser_primary_expression): Document the grammar
        for the built-in offsetof, a GNU extension.

From-SVN: r109431
This commit is contained in:
Gabriel Dos Reis 2006-01-06 20:50:39 +00:00 committed by Gabriel Dos Reis
parent 84be0a79a8
commit 93846d56e1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-01-06 Gabriel Dos Reis <gdr@integrablesolutions.net>
* parser.c (cp_parser_primary_expression): Document the grammar
for the built-in offsetof, a GNU extension.
2005-01-04 Zdenek Dvorak <dvorakz@suse.cz>
PR c++/25632

View File

@ -2747,6 +2747,7 @@ cp_parser_translation_unit (cp_parser* parser)
primary-expression:
( compound-statement )
__builtin_va_arg ( assignment-expression , type-id )
__builtin_offsetof ( type-id , offsetof-expression )
Objective-C++ Extension: