Files
mercury/tests/hard_coded/switch_detect.inp
Zoltan Somogyi 2cd2009971 Allow the detection of switches in which some disjuncts start not
Estimated hours taken: 2
Branches: main

compiler/switch_detect.m:
	Allow the detection of switches in which some disjuncts start not
	with a unification, but with disjunction of unifications. In such
	cases, the rest of the disjunct is duplicated for all the switch arms
	we can create.

compiler/hard_coded/switch_detect.{m,inp,exp}:
	New test case to test the new functionality.

compiler/hard_coded/Mmakefile:
	Enable the new test case.
2005-09-02 05:00:29 +00:00

3 lines
17 B
Plaintext