HP C/iX Reference Manual (31506-90011)

Appendix B 207
Syntax Summary
Phrase Structure Grammar
parameter-type-list
::=
parameter-list
parameter-list
, ...
parameter-list
::=
parameter-declaration
parameter-list
,
parameter-declaration
parameter-declaration
::=
declaration-specifiers declarator
declaration-specifiers [abstract-declarator]
identifier-list
::=
identifier
identifier-list
,
identifier
type-name
::=
specifier-qualifier-list [abstract-declarator]
abstract-declarator
::=
pointer
[pointer] direct-abstract-declarator
direct-abstract-declarator
::=
(
abstract-declarator
)
[direct-abstract-declarator]
[
[constant-expression]
]
[direct-abstract-declarator]
(
[parameter-type-list]
)
typedef-name
::=
identifier
initializer
::=
assignment-expression
{
initializer-list
}
{
initializer-list
,}
initializer-list
::=
initializer
initializer-list
,
initializer
Statements
statement
::=
labeled-statement
compound-statement
expression-statement
selection-statement
iteration-statement
jump-statement
labeled-statement
::=
identifier
:
statement
case
constant-expression
:
statement