parser does not support void with-loops
The following program is rejected:
int main()
{
with {
( [0] <= iv < [15]) { StdIO::print(iv); } : void;
} : void;
return 0;
}
when compiling with
sac2c 1.3.3-MijasCosta-771-g499e7
build-type: RELEASE
built-by: "sbs" at 2022-02-20T11:53:21
we get:
./error.sac:4:53: error:
=> expression expected
abort: Failed to construct a syntax tree for `error.sac'
compilation failed while Loading SAC program, 1 error(s).