Expressions – Echelon Neuron C User Manual
Page 239
Neuron C Reference Guide
219
incomplete-stmt
:
label
:
incomplete-stmt
for-head
incomplete-stmt
if-else-head
incomplete-stmt
if-head
statement
switch-head
incomplete-stmt
while-clause
incomplete-stmt
These are the various pieces that make up the statement syntax from above.
label
:
case
expression
default
identifier
if-else-head
:
if-head
complete-stmt
else
if-head
:
if
parenthesized-expr
for-head
:
for ( [
expression
] ; [
expression
] ; [
expression
] )
switch-head
:
switch
parenthesized-expr
while-clause
:
while
parenthesized-expr
Expressions
The following is expression syntax.
parenthesized-expr
:
(
expression
)
constant-expr
:
expression
expression
:
expression
,
assign-exp
r
assign-expr
assign-expr
:
choice-expr
assign-op
assign-expr
choice-expr
assign-op
:
one
of
= | |= | ^= | &= | <<= | >>=
/=
| *= | %= | += | -=