Souhrn příkazů jazyka C
statement
:
labeled-statement
compound-statement
expression-statement
selection-statement
iteration-statement
jump-statement
try-except-statement
/* Specifické pro Microsoft */
try-finally-statement
/* Specifické pro Microsoft */
jump-statement
:
goto
identifier
;
continue ;
break ;
return
expression
volit ;
__leave ;
/* Specifické proMicrosoft 1 */
compound-statement
:
{
declaration-list
opt opt statement-list
}
declaration-list
:
declaration
declaration-list
declaration
statement-list
:
statement
statement-list
statement
expression-statement
:
expression
volit ;
iteration-statement
:
while (
expression
)
statement
do
statement
while (
expression
) ;
for (
expression
opt opt )
expression
;
;
expression
statement
selection-statement
:
if (
expression
)
statement
if (
expression
)
statement
else
statement
switch (
expression
)
statement
labeled-statement
:
identifier
:
statement
case
constant-expression
:
statement
default :
statement
try-except-statement
: /* Specifické pro Microsoft */
__try
compound-statement
__except (
expression
)
compound-statement
try-finally-statement
: /* Specifické pro Microsoft */
__try
compound-statement
__finally
compound-statement
1 Klíčové __leave
slovo je platné pouze v __try
rámci bloku nebo try-except-statement
try-finally-statement
.