sulir/edigen — Issue #3: Add ambiguous variant detection
Author: sulir
Created: 2012-02-24 00:15:47+00:00
State: open
Labels: bug, feature-request

Currently it is possible to write such input file that more than one variant of a rule can match. This can cause unintended behavior of the generated instruction decoder.

It would be useful to detect such cases and stop the generator, printing an error message.