Files @ 8ab15200d9a4
Branch filter:

Location: CSY/reowolf/testdata/parser/positive/11.pdl - annotation

Christopher Esterhuyse
misc refactoring: (1) more thorough error handling, (2) more modular functions
#version 100

primitive main(in a, out b) {
	msg x = null;
	while (x == null) {
		synchronous {
			if (fires(a))
				x = get(a);
		}
	}
	while (true) {
		synchronous {
			if (fires(b))
				put(b, x);
		}
	}
}