next up previous contents index
Next: Repetition Up: Pattern Matching Previous: Cost minimization

Match all rules

The matchall statement is a variant of match. In the matchall mode, the actions of all applicable rules are executed in the textual order. Caution: since the matching variable binding process occurs before the rules are executed, the rhs actions should not alter the matched value or the pattern variables may be bound to the wrong value.



Allen Leung
Mon Apr 7 14:33:55 EDT 1997