Files @ 3dc3c63ab47f
Branch filter:

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

Christopher Esterhuyse
added hierarchal structure to connector fields such that fewer pointers to larger sub-structures must be passed around in tight loops of communication phase. Eg: NonSyncContext and SyncContext have shrunk substantially
#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);
		}
	}
}