Files @ d23010006486
Branch filter:

Location: CSY/reowolf/testdata/parser/negative/13.pdl

Christopher Esterhuyse
bugfix: increment round index on recovery to avoid mixing messages once we switch away from tcp. refactoring communication internals to simplify bookkeeping structures. more consts in tests to make them terser
#version 100

// function statement must return
int myfun(int x) {
	if (x > 0) {
		while (x > 0) {
			x--;
			if (x == 0) skip; // illegal!
			else return x;
		}
	} else {
		int y = 0;
label:  if (y >= 0) {
			goto label;
		} else {
			y = 5;
			return myfun(x + 1);
		}
	}
}