Changed cmtable_init to use isxdigit