Files @ 7e100501dbde
Branch filter:

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

Christopher Esterhuyse
continued refactor (safe state) connector internals are (mostly) read-only until the moment the round succeed, whereafter the changes to ports/connectors are committed by being folded in
#version 100

primitive main(in a) {
	while (true) {
		synchronous {
			if (fires(a)) {
				return 5;
			} else {
				block(a);
			}
		}
	}
}