Implement ERR_ALREADYREGISTERED
Merge branch 'master' into c
update generated_c