Closed BangL closed 7 years ago
1.0.5_2
switch-do with multi-cases
code example:
switch (_condition) do { case "string1"; case "string2": { hint "string1 or string2" }; default { hint "default" }; };
the partcase "string1"; is falsly marked as syntax error. (at ;) see example 1.2 and 4 here: https://community.bistudio.com/wiki/switch_do
case "string1";
;
fixed for 1.0.6
Plugin Version
1.0.5_2
Summary
switch-do with multi-cases
Detail
code example:
switch (_condition) do { case "string1"; case "string2": { hint "string1 or string2" }; default { hint "default" }; };
the part
case "string1";
is falsly marked as syntax error. (at;
) see example 1.2 and 4 here: https://community.bistudio.com/wiki/switch_do