generate_errors.pl now errors on duplicate codes

Duplication could easily happen during merges, now it can't go unnoticed.
1 file changed