Report error when redefining enumerator
Report error when redefining enumerator

Prevent the following code from compiling:

enum color {RED, GREEN, BLUE};
enum rgb {RED, G, B};

metaeducation/tcc,fstudio/tinycc,rchandramouli/tinycc,code4game/tinycc,andrewchambers/tccmirror,alfonsokim/tinycc,metaeducation/tcc,seyko2/tinycc,run4flat/tinycc,andrewchambers/tccmirror,gfwilliams/tinycc,metaeducation/tcc,seyko2/tinycc,rchandramouli/tinycc,andrewchambers/tccmirror,gfwilliams/tinycc,gfwilliams/tinycc,fstudio/tinycc,mingodad/tinycc,alfonsokim/tinycc,gfwilliams/tinycc,leeduhem/tinycc,Saectar/inherpreter,metaeducation/tcc,mirror/tinycc,mirror/tinycc,mingodad/tinycc,avih/tinycc,alfonsokim/tinycc,avih/tinycc,fstudio/tinycc,andreiw/tinycc,code4game/tinycc,andrewchambers/tccmirror,andrewchambers/tccmirror,mirror/tinycc,rchandramouli/tinycc,code4game/tinycc,mingodad/tinycc,leeduhem/tinycc,seyko2/tinycc,andreiw/tinycc,gfwilliams/tinycc,seyko2/tinycc,leeduhem/tinycc,alfonsokim/tinycc,metaeducation/tcc,Saectar/inherpreter,rchandramouli/tinycc,leeduhem/tinycc,run4flat/tinycc,fstudio/tinycc,Saectar/inherpreter,avih/tinycc,run4flat/tinycc,mirror/tinycc,avih/tinycc,leeduhem/tinycc,mingodad/tinycc,run4flat/tinycc,seyko2/tinycc,Saectar/inherpreter,rchandramouli/tinycc,run4flat/tinycc,Saectar/inherpreter,fstudio/tinycc,alfonsokim/tinycc,andreiw/tinycc