- // Individually these are correct.
- //
- // These cases can't be distinguished, so we defer to the UPC-A decoder and
- // treat this case as a UPC-A code. But if we let the UPC-A decoder look at
- // symbols first, it will recognize any EAN-13 code as a 12-digit string,
- // which is wrong. So EAN-13 has to try first.
+ // Individually these are correct and their readers will both read such a code
+ // and correctly call it EAN-13, or UPC-A, respectively.