From: Gabriel Dos Reis Date: Fri, 6 Jan 2006 20:50:39 +0000 (+0000) Subject: parser.c (cp_parser_primary_expression): Document the grammar for the built-in offset... X-Git-Tag: releases/gcc-4.2.0~4994 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93846d56e1624d1bb34da982aa270768eaec8c32;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e4873392fbe4..0680fed17ecc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-01-06 Gabriel Dos Reis + + * parser.c (cp_parser_primary_expression): Document the grammar + for the built-in offsetof, a GNU extension. + 2005-01-04 Zdenek Dvorak PR c++/25632 diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 13aa29a08559..637e183946a5 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -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: