2005/5/9

     
 

CfgScript Expression Statement

artefaktur

| Expression statement | block {} Statement | Branch Statements | Loop Statements | Type Declaration | Variable Declaration | Synchronize Statements | With Statement | Using Statement | Type Alias |

The ExpressionStatment just terminate an Expression with a ';'


ExpressionStatement
: Expression ';'
| ';'
;
The Expression statement is a normal Expression terminated with a ;.

As a special case also an empty expression, where no expression is given.


  if (a == b) // IfStatement
    ; // empy statement
  else
    i = 3; // ExpressionStatement with AssignmentExpression as expression.