Files @ 3dc3c63ab47f
Branch filter:

Location: CSY/reowolf/testdata/parser/negative/4.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

// built-in outside sync block
primitive main(in a, out b) {
	int x = 0;
	msg y = create(0); // legal
	while (x < 10) {
		y = get(a); // illegal
		synchronous {
			y = get(a); // legal
		}
	}
}