Continue keyword in costates (compiler bug? DC 9.62)

Hello,

I believe I’ve found a bug in the DC 9.62 compiler. I would expect the following code to create an infinite loop:

void main() {
  while(1) {
    costate {
      continue;
    }
  }
}

My understanding of C and Dynamic C is that keywords like ‘break’ and ‘continue’ should reset the costate. I would expect the loop condition to be re-evaluated and then the costate should start again.

Instead, on my LP3500, it exits with code 243.

Please let me know if there’s a better place to report this.

Good morning,
If you are having an issue with our products, you should send an email to the Tech Support team at support@rabbit.com

If you can send a working sample, something we can compile and run, we can then bring it to the attention of our software group.