correct register names processing for C++ compiler
correct name length if name has underscores prefix