Riepilogo delle istruzioni C
statement
:
labeled-statement
compound-statement
expression-statement
selection-statement
iteration-statement
jump-statement
try-except-statement
/* Specifico di Microsoft */
try-finally-statement
/* Specifico di Microsoft */
jump-statement
:
goto
identifier
;
continue ;
break ;
return
expression
optare ;
__leave ;
/* Specifico diMicrosoft 1 */
compound-statement
:
{
declaration-list
opt opt opt statement-list
}
declaration-list
:
declaration
declaration-list
declaration
statement-list
:
statement
statement-list
statement
expression-statement
:
expression
optare ;
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
: /* Specifico di Microsoft */
__try
compound-statement
__except (
expression
)
compound-statement
try-finally-statement
: /* Specifico di Microsoft */
__try
compound-statement
__finally
compound-statement
1 La __leave
parola chiave è valida solo all'interno del __try
blocco di un try-except-statement
oggetto o .try-finally-statement