Closed Servostar closed 2 months ago
Added rules for branches. A branch (if) is an if <expr> {} followed by a variable amount of else if <expr> and an ended by an optional else. Valid combinations are:
if <expr> {}
else if <expr>
else
if 5 { }
if 5 { } else {}
if 5 { } else if 7 {} else if 9 {} else if 12 {} else {}
Added rules for branches. A branch (if) is an
if <expr> {}
followed by a variable amount ofelse if <expr>
and an ended by an optionalelse
. Valid combinations are: