Summary of Declarations
declaration:
declaration-specifiers attribute-seq optinit-declarator-listopt**;**/* attribute-seq is Microsoft Specific */
declaration-specifiers:
storage-class-specifier declaration-specifiersopttype-specifier declaration-specifiersopt
type-qualifier declaration-specifiersopt
attribute-seq : /* attribute-seq is Microsoft Specific */
attribute attribute-seq optattribute : one of /* Microsoft Specific */
init-declarator-list:
init-declaratorinit-declarator-list , init-declarator
init-declarator:
declaratordeclarator = initializer /* For scalar initialization */
storage-class-specifier:
autoregister
static
extern
typedef
__declspec ( extended-decl-modifier-seq ) /* Microsoft Specific */
type-specifier:
voidchar
short
int
__int8 /* Microsoft Specific */
__int16 /* Microsoft Specific */
__int32 /* Microsoft Specific */
__int64 /* Microsoft Specific */
long
float
double
signed
unsigned
struct-or-union-specifier
enum-specifier
typedef-name
type-qualifier:
constvolatile
declarator:
pointeroptdirect-declaratordirect-declarator:
identifier( declarator )
direct-declarator [ constant-expression opt**]**
direct-declarator ( parameter-type-list ) /* New-style declarator */
direct-declarator ( identifier-listopt**)** /* Obsolete-style declarator */
pointer:
*****type-qualifier-listopt*****type-qualifier-listoptpointer
parameter-type-list: /* The parameter list */
parameter-listparameter-list**, ...**
parameter-list:
parameter-declarationparameter-list , parameter-declaration
type-qualifier-list:
type-qualifiertype-qualifier-list type-qualifier
enum-specifier:
enum identifieropt**{** enumerator-list }enum identifier
enumerator-list:
enumeratorenumerator-list , enumerator
enumerator:
enumeration-constantenumeration-constant = constant-expression
enumeration-constant:
identifierstruct-or-union-specifier:
struct-or-union identifieropt**{** struct-declaration-list } struct-or-union identifierstruct-or-union:
structunion
struct-declaration-list:
struct-declarationstruct-declaration-list struct-declaration
struct-declaration:
specifier-qualifier-list struct-declarator-list ;specifier-qualifier-list:
type-specifier specifier-qualifier-listopttype-qualifier specifier-qualifier-listopt
struct-declarator-list:
struct-declarator struct-declarator-list , struct-declaratorstruct-declarator:
declaratortype-specifier declaratoropt**:** constant-expression
parameter-declaration:
declaration-specifiers declarator /* Named declarator */declaration-specifiers abstract-declaratoropt**/*** Anonymous declarator */
identifier-list: /* For old-style declarator * /
identifieridentifier-list , identifier
abstract-declarator: /* Used with anonymous declarators */
pointerpointeroptdirect-abstract-declarator
direct-abstract-declarator:
( abstract-declarator )direct-abstract-declaratoropt**[** constant-expressionopt**]**
direct-abstract-declaratoropt**(** parameter-type-list opt**)**
initializer:
assignment-expression{ initializer-list } /* For aggregate initialization */
{ initializer-list , }
initializer-list:
initializerinitializer-list , initializer
type-name:
specifier-qualifier-list abstract-declaratoropttypedef-name:
identifierextended-decl-modifier-seq:/* Microsoft Specific */
extended-decl-modifieroptextended-decl-modifier-seq extended-decl-modifier
extended-decl-modifier: /* Microsoft Specific */
threadnaked
dllimport
dllexport